4819 Commits (v11.0-rc)

Author SHA1 Message Date
Siegfried Pammer ca5eec3cc9 Don't assert decompiled local types match the signature 3 months ago
Siegfried Pammer fb75e42385 Assign a text location to comment-only empty statements 3 months ago
Sebastien Lebreton 44cb31abae Fix #3820: decompile dynamic ~ as ~x instead of an unsupported-opcode error 3 months ago
Sebastien Lebreton 1d429d0c2f Fix #3826: wrap an overflowing constant subexpression in unchecked() 3 months ago
Sebastien Lebreton bf4bb1287e Fix #3821: keep ref-struct conditional as if/return, not ?. / ?? (CS8978) 3 months ago
Siegfried Pammer 99888eb78e Surface the IL 'tail.' prefix as an inline comment in C# output 3 months ago
Siegfried Pammer c3abc68771 Use SDK default Compile items in ICSharpCode.Decompiler 3 months ago
Siegfried Pammer d4922cfec0 Don't inline a pointer-typed stackalloc into an expression 3 months ago
Siegfried Pammer de33be74da Don't reconstruct a partially written stackalloc as an initializer 3 months ago
Siegfried Pammer a06c22b88a Decode float/double stackalloc initializer constants by their type 3 months ago
Siegfried Pammer 0c23009b3e Fix #3799: keep stackalloc initializer element type when the hint is not a pointer 3 months ago
Siegfried Pammer 33d44f7828 Rename the Roles token-text constants to Tokens 3 months ago
Siegfried Pammer e264e926bb Enforce one child type per slot kind; de-alias shared kinds 3 months ago
Siegfried Pammer 37ff23f125 Type FirstOrNull/LastOrNull as nullable instead of suppressing 3 months ago
Siegfried Pammer 9212387e3d Maintain single-slot child indices by construction, like the IL AST 3 months ago
Siegfried Pammer a04be1dd53 Maintain child indices incrementally for a node's sole collection slot 3 months ago
Siegfried Pammer f1eff1a193 Keep child indices on in-place replacement to avoid O(N^2) rewrites 3 months ago
Siegfried Pammer 737800f703 Allocate the AstNodeCollection backing list lazily 3 months ago
Siegfried Pammer 721ef6032d Enumerate AST children with a zero-allocation struct enumerator 3 months ago
Siegfried Pammer 6bea2072ae Use a HashSet for the nodes awaiting a start location 3 months ago
Siegfried Pammer cfc2872532 Document the AST source generator and how to extend it 3 months ago
Siegfried Pammer ed61b8a14e Replace the SlotKind enum with object-identity Slots kinds 3 months ago
Siegfried Pammer 930df9161f De-alias the declaration attribute slot to its own kind 3 months ago
Siegfried Pammer b23499503c Generate typed Slots; key 1:1-kind child access on them 3 months ago
Siegfried Pammer dc186be0a9 Add typed child accessors over CSharpSlotInfo<T> 3 months ago
Siegfried Pammer 603d43a8d9 Carry the child type on CSharpSlotInfo<T> 3 months ago
Siegfried Pammer 0a670d96bd Add AstNode.CheckInvariant to validate the AST after each transform 3 months ago
Siegfried Pammer b0c8b7b2e5 Enable nullable reference types across the remaining C# Syntax files 3 months ago
Siegfried Pammer 6088b3798a Remove stray blank lines at AST node class boundaries 3 months ago
Siegfried Pammer fcdf48cf45 Tidy AST generator: clearer name-accessor naming, drop the Role slot kind 3 months ago
Siegfried Pammer 440927f51a Drop the unused AstNode.flags field; store IsVerbatim as a bool 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 ed7bfbf85a Guard null-object regressions in lambda body and token decorator 3 months ago
Siegfried Pammer ca9a9c4f40 Guard the TypeSystemAstBuilder nullable-array NRE with a regression test 3 months ago
Siegfried Pammer 9d254cd041 Rename FirstOrNullObject/LastOrNullObject to FirstOrNull/LastOrNull 3 months ago
Siegfried Pammer 7218d95016 Remove leftover Role constants after the Role hierarchy deletion 3 months ago
Siegfried Pammer a42febd3c4 Refresh generated-code comments after the null-object removal 3 months ago
Siegfried Pammer ec543e8836 Remove the generator's null-node emission machinery 3 months ago
Siegfried Pammer 2ea569b005 Enable nullable reference types across the C# AST consumers 3 months ago
Siegfried Pammer 3c7f27f186 Seal leaf AST node classes 3 months ago
Siegfried Pammer 1a4a9dd41c Generate a single-pass child enumerator (GetChildNodes) 3 months ago
Siegfried Pammer 19f3238330 Normalize [Slot] attribute strings to bare SlotKind names 3 months ago
Siegfried Pammer 30f070558f Remove redundant AnonymousMethodExpression.HasParameterList 3 months ago
Siegfried Pammer 55a2637985 Convert trivial scalar properties to auto-properties 3 months ago
Siegfried Pammer 16db97d5f5 Generate node constructors 3 months ago
Siegfried Pammer 1cc8a62f95 Delete TokenRole; carry token text as constants 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