443 Commits (bc8b1d1893097e6db5f7ede6c078110ddb8b33cb)

Author SHA1 Message Date
Siegfried Pammer 06480c2625 Show the owning property's documentation for accessor methods 2 months ago
Sebastien Lebreton 675fca83a8 Fix #3895: keep byref-like ToString in string concatenation 2 months ago
Sebastien Lebreton ad991548b0 Fix #3892: preserve unsafe for pointer constructors 2 months ago
Siegfried Pammer 7554c1b004 Remove the syntactic automatic-event patterns 2 months ago
Siegfried Pammer 461df88572 Replace automatic-event backing-field references during translation 2 months ago
Siegfried Pammer 1b9131905d Fix #3858: Detect automatic events on the ILAst instead of the C# AST 2 months ago
Siegfried Pammer 1e6a19e2c4 Fix #3860: Avoid 'out var' if the variable recurs in the argument list 2 months ago
Siegfried Pammer 07d5a01d2b Add license headers to source files that lacked them 2 months ago
Siegfried Pammer f380b31a27 Fix #3804: reconstruct foreach over an inline array 2 months ago
Sebastien Lebreton 44ac0dd05d Address review: keep while-loop instead of headless for for ref locals 2 months ago
Sebastien Lebreton 13c80c4588 Fix #3827: keep the initializer on a ref local hoisted out of a for-loop 2 months ago
Siegfried Pammer 112f32f88f Lift chained ctor calls when sibling constructors' field inits diverge 2 months ago
Siegfried Pammer d35c082616 Move debug-step stepping to a neutral namespace 3 months ago
Siegfried Pammer ffd1eac3d0 Share debug-step candidate recording between IL and C# 3 months ago
Siegfried Pammer 55fbd6d53f Consolidate unsafe-modifier step guards 3 months ago
Siegfried Pammer 6ee3462ece Ignore null C# debug-step produced nodes 3 months ago
Siegfried Pammer e43dab7e11 Record candidates for the C# step that hits the step limit 3 months ago
Siegfried Pammer 2bd41edfaf Bridge only the debug-step marker in NodeLookup 3 months ago
Siegfried Pammer a23827bf0c Point a caret at the gap for debug steps that remove a node 3 months ago
Siegfried Pammer d3517739ff Add fine-grained C# AST debug steps 3 months ago
Siegfried Pammer 5fa44fab6a Emit member-initializer sequence points in every constructor 3 months ago
Siegfried Pammer e264e926bb Enforce one child type per slot kind; de-alias shared kinds 3 months ago
Siegfried Pammer ed61b8a14e Replace the SlotKind enum with object-identity Slots kinds 3 months ago
Siegfried Pammer b23499503c Generate typed Slots; key 1:1-kind child access on them 3 months ago
Siegfried Pammer b0c8b7b2e5 Enable nullable reference types across the remaining C# Syntax files 3 months ago
Siegfried Pammer f5b00ac234 Model optional AST names as nullable; fold [NameSlot] into [Slot] 3 months ago
Siegfried Pammer 33b6813834 Tighten AST child-access API and trim output-path overhead 3 months ago
Siegfried Pammer 7218d95016 Remove leftover Role constants after the Role hierarchy deletion 3 months ago
Siegfried Pammer 2ea569b005 Enable nullable reference types across the C# AST consumers 3 months ago
Siegfried Pammer 16db97d5f5 Generate node constructors 3 months ago
Siegfried Pammer 9285a7328d Delete the Role hierarchy; key the child API on SlotKind 3 months ago
Siegfried Pammer 9aa0ddd37b Replace AST null-objects with nullable reference types 3 months ago
Siegfried Pammer 1f4fd68b3f Make optional AST slots nullable 3 months ago
Siegfried Pammer 785e36712d Enable nullable reference types across the C# transforms 3 months ago
Siegfried Pammer 89e7f5b662 Expose node.Slot and key child positions on SlotKind 3 months ago
Siegfried Pammer 94678e9c69 Flip AST storage from the linked list to slots 3 months ago
Siegfried Pammer 77d57b91dc Drop token nodes and move comments and directives to trivia 3 months ago
Siegfried Pammer ba8e5b9641 Model AST children as [Slot] partial properties 3 months ago
Siegfried Pammer a537dad7ef Fix #3774: keep field initializers when decompiling a static ctor alone 3 months ago
Siegfried Pammer 79b0cbb719 Fix #3703: Do not transform to a primary constructor if it's not public (or protected in abstract classes) 5 months ago
Siegfried Pammer 3a27cbef06 Fix #3617: Order of XML comments in types with primary constructors 9 months ago
mmusu3 88b2c437a7 Address PR review feedback 10 months ago
mmusu3 22ceb6e7d1 Fix remaining cases with changes to IntroduceUsingDeclarations. 10 months ago
Siegfried Pammer 94050a4aca Rewrite TransformFieldAndConstructorInitializers from a step-by-step AST-based analysis to an analysis that tracks the whole constructor body. 10 months ago
Siegfried Pammer 7a5a2a00a9 #3452: Transform field initializers in structs only if no record and no primary ctor. 10 months ago
Siegfried Pammer cb48768b6d Fix #3610: Add more primary constructor test cases. 10 months ago
Siegfried Pammer 46c99f1a21 Fix #3452: More bugs with primary constructors. 10 months ago
Siegfried Pammer 9c8d1e48d9 Many thanks to @sonyps5201314 for providing the test cases and a suggested fix, which inspired these changes. 10 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) 10 months ago
Siegfried Pammer c075f7b9c8 Fix out var for expressions appearing in a lambda and not in a statement. 11 months ago