430 Commits (d35c082616a5c95a5b1eaeb7985b186856510053)

Author SHA1 Message Date
Siegfried Pammer d35c082616 Move debug-step stepping to a neutral namespace 6 days ago
Siegfried Pammer ffd1eac3d0 Share debug-step candidate recording between IL and C# 6 days ago
Siegfried Pammer 55fbd6d53f Consolidate unsafe-modifier step guards 6 days ago
Siegfried Pammer 6ee3462ece Ignore null C# debug-step produced nodes 6 days ago
Siegfried Pammer e43dab7e11 Record candidates for the C# step that hits the step limit 6 days ago
Siegfried Pammer 2bd41edfaf Bridge only the debug-step marker in NodeLookup 6 days ago
Siegfried Pammer a23827bf0c Point a caret at the gap for debug steps that remove a node 6 days ago
Siegfried Pammer d3517739ff Add fine-grained C# AST debug steps 6 days ago
Siegfried Pammer 5fa44fab6a Emit member-initializer sequence points in every constructor 1 week ago
Siegfried Pammer e264e926bb Enforce one child type per slot kind; de-alias shared kinds 2 weeks ago
Siegfried Pammer ed61b8a14e Replace the SlotKind enum with object-identity Slots kinds 2 weeks ago
Siegfried Pammer b23499503c Generate typed Slots; key 1:1-kind child access on them 2 weeks ago
Siegfried Pammer b0c8b7b2e5 Enable nullable reference types across the remaining C# Syntax files 2 weeks ago
Siegfried Pammer f5b00ac234 Model optional AST names as nullable; fold [NameSlot] into [Slot] 2 weeks ago
Siegfried Pammer 33b6813834 Tighten AST child-access API and trim output-path overhead 2 weeks ago
Siegfried Pammer 7218d95016 Remove leftover Role constants after the Role hierarchy deletion 2 weeks ago
Siegfried Pammer 2ea569b005 Enable nullable reference types across the C# AST consumers 2 weeks ago
Siegfried Pammer 16db97d5f5 Generate node constructors 2 weeks ago
Siegfried Pammer 9285a7328d Delete the Role hierarchy; key the child API on SlotKind 2 weeks ago
Siegfried Pammer 9aa0ddd37b Replace AST null-objects with nullable reference types 2 weeks ago
Siegfried Pammer 1f4fd68b3f Make optional AST slots nullable 2 weeks ago
Siegfried Pammer 785e36712d Enable nullable reference types across the C# transforms 2 weeks ago
Siegfried Pammer 89e7f5b662 Expose node.Slot and key child positions on SlotKind 2 weeks ago
Siegfried Pammer 94678e9c69 Flip AST storage from the linked list to slots 2 weeks ago
Siegfried Pammer 77d57b91dc Drop token nodes and move comments and directives to trivia 2 weeks ago
Siegfried Pammer ba8e5b9641 Model AST children as [Slot] partial properties 2 weeks ago
Siegfried Pammer a537dad7ef Fix #3774: keep field initializers when decompiling a static ctor alone 3 weeks ago
Siegfried Pammer 79b0cbb719 Fix #3703: Do not transform to a primary constructor if it's not public (or protected in abstract classes) 3 months ago
Siegfried Pammer 3a27cbef06 Fix #3617: Order of XML comments in types with primary constructors 7 months ago
mmusu3 88b2c437a7 Address PR review feedback 8 months ago
mmusu3 22ceb6e7d1 Fix remaining cases with changes to IntroduceUsingDeclarations. 8 months ago
Siegfried Pammer 94050a4aca Rewrite TransformFieldAndConstructorInitializers from a step-by-step AST-based analysis to an analysis that tracks the whole constructor body. 8 months ago
Siegfried Pammer 7a5a2a00a9 #3452: Transform field initializers in structs only if no record and no primary ctor. 8 months ago
Siegfried Pammer cb48768b6d Fix #3610: Add more primary constructor test cases. 8 months ago
Siegfried Pammer 46c99f1a21 Fix #3452: More bugs with primary constructors. 8 months ago
Siegfried Pammer 9c8d1e48d9 Many thanks to @sonyps5201314 for providing the test cases and a suggested fix, which inspired these changes. 8 months ago
sonyps5201314 b63b515a27
Exclude `System.Runtime.CompilerServices.RefSafetyRulesAttribute` from the `module` attribute in the generated `AssemblyInfo.cs`, because including it causes the compiler error: `error CS8335: Do not use 'System.Runtime.CompilerServices.RefSafetyRulesAttribute'. This is reserved for compiler usage.`. (#3606) 8 months ago
Siegfried Pammer c075f7b9c8 Fix out var for expressions appearing in a lambda and not in a statement. 9 months ago
Siegfried Pammer d11c40719d #3569: Don't move out variable declarations out of lambdas. 9 months ago
ds5678 c54318173b Fix lower case type name conflicting with variable name 9 months ago
Peter Crabtree e1e16b64f5 dev: Strip BOM mark from text files 10 months ago
Jan Kučera 9d11f523b1 Always move initializer decompilation setting 11 months ago
Siegfried Pammer 9dde97414a Rename ResolvedUsingScope to UsingScope 11 months ago
Siegfried Pammer c9e3790adc Remove UnresolvedUsingScope 11 months ago
Siegfried Pammer d2d9281072 Move CanTransformToExtensionMethodCall to CSharpResolver 11 months ago
Siegfried Pammer e56f12cf93 Fix #2165: DeclareVariables step must update ResolveResult annotation when using out var. 11 months ago
Siegfried Pammer ddb7171a2a Fix #3524: Property without backing field cannot have an initializer. 11 months ago
Siegfried Pammer 49368caf1c Rename option to "UseObjectCreationOfGenericTypeParameter" 1 year ago
DoctorKrolic 47eeacd7aa Add an option to not transform `Activator.CreateInstance<T>()` to `new T()` 1 year ago
Siegfried Pammer 2fb90b49e0 Adjust string.Concat handling in ReplaceMethodCallsWithOperators to support unexpanded string.Concat calls. 1 year ago