1048 Commits (37f3d0b579c4b50b247637e6eaab62cf47b267a7)

Author SHA1 Message Date
Siegfried Pammer f7343c75d0 Add support for simple recursive patterns where the sub pattern is a simple type pattern. 2 years ago
Siegfried Pammer 3d8cda5f88 Fix #2613: Detect pattern matching on variables of generic type with value types. 2 years ago
Siegfried Pammer 32e04eaf12 Implement Roslyn 4.6 pattern for C# switch on string: match by length and unique characters first. 2 years ago
Daniel Grunwald 99d5e94a62 Allow inlining value type temporaries into constrained call. 2 years ago
Daniel Grunwald b80d20b15d Add support for calling `operator checked`. 2 years ago
Daniel Grunwald 3c46271a11 Add support for unsigned right shift. 2 years ago
Daniel Grunwald f568123704 Add support for UTF8 string literals 2 years ago
Daniel Grunwald 475f2b3c28 Fix "ref readonly" fields. 2 years ago
Daniel Grunwald b823955ad6 Fix mcs-5 foreach/using pattern when C# 7 (pattern matching) is not enabled. 2 years ago
Daniel Grunwald f04acbdd74 Simplify `IsImplicitTruncation` by using an enum with 3 options instead of a pair of bools. 2 years ago
ElektroKill ea1f6e7c25
Fixed compound assignment and post/pre increment for pointer dereference 2 years ago
Siegfried Pammer 29ca38d338 Fix handling of recombined variables and nested functions in IntroduceNativeIntTypeOnLocals and IntroduceDynamicTypeOnLocals. 2 years ago
Siegfried Pammer 539925f259 Fix #2983: display-class locals should be named uniquely per top-level ILFunction. Add assertion to ResolveCollisions: ensure that colliding/merged variables have the same type. 2 years ago
ElektroKill f9c7b6b66e
Extend `EliminateRedundantTryFinally` in `ReduceNestingTransform` 2 years ago
ElektroKill 01fd6e97f3
Fixed overflow exception and added tests 2 years ago
ElektroKill bf0fe3aa15
Consider constructor type when lifting decimal constants 2 years ago
Siegfried Pammer 7e1e9d65fd Fix #2922: Invalid object initializer ILAst, when expression tree contains get-accessor in Expression.Bind. Because either one of the accessors is used by Expression.Bind to determine the property, we can safely use the set-accessor instead. 2 years ago
ElektroKill b110d5c2dc
Implement support for Visual Basic yield return state machines 2 years ago
ElektroKill 25873a68e0
Improve support for post-increment/decrement on pointers 3 years ago
Siegfried Pammer 619d2af9b2 Add GetNamespaceByFullName and use it to speed up AssignVariableNames.CollectAllLowerCaseTypeNames 3 years ago
ElektroKill b193c2a6a2
Add support for rare VB cached delegate construction pattern with return 3 years ago
ElektroKill ea19843fbd
Fix `CachedDelegateInitializationVBWithClosure` stack slot check 3 years ago
ElektroKill 00e7524780
Fix`CachedDelegatenitializationVB` pattern 3 years ago
ElektroKill c8fd044706
Fix `UsingTranform` for inlined `isinst` variation (refs #2199) 3 years ago
ElektroKill cdad14b685
Add support for `lock` statements within yield return state machines 3 years ago
ElektroKill 7c73517892
Fix formatting 3 years ago
ElektroKill a979f0fdfa
Add support for VB.NET cached delegate initialization with closures 3 years ago
Daniel Grunwald d3919aa99a Support native ints in "Combine bit.and into shift" transform 3 years ago
Siegfried Pammer bde782e4f5 Fix #2806: Do not use implicitly typed out variables, if argument and parameter types do not match exactly. 3 years ago
Siegfried Pammer ac6a2e54ca Use IsAccessor again. 3 years ago
Siegfried Pammer 927b46b17d Fix #2787: Enable NRT in TransformCollectionAndObjectInitializers and fix problems. 3 years ago
Siegfried Pammer 1ac1bd6eab Remove context field from TransformCollectionAndObjectInitializers, inline DoTransform. 3 years ago
Siegfried Pammer a3191f19e2 Fix #2763: Improve decompilation of switch-on-enum by preserving enum type information when inlining local variables into SwitchInstruction.Value. 3 years ago
Siegfried Pammer 948da3f9ee ILInlining: IStatementTransform.Run repeatedly inline all possible statements. 3 years ago
Daniel Grunwald 503048b314 Prevent the early ILInlining pass from creating `addressof` instructions 3 years ago
Siegfried Pammer c5ff0cafc5 TransformInlineAssignmentStObjOrCall: Make sure no dead store is produced by the transform. 3 years ago
Daniel Grunwald b4b070468f Revert "Performance Optimization: Do no longer collect all lower case type and member names." 3 years ago
Siegfried Pammer 6584a2f576 Performance Optimization: Do no longer collect all lower case type and member names. 3 years ago
Daniel Grunwald 08ceffc3ad Upgrade dotnet-format from version 5 to the version included with the .NET (6) SDK. 3 years ago
Siegfried Pammer f695bbcf3a Add support for DefaultInterpolatedStringHandler 3 years ago
ElektroKill 760a6a653e
Reduce allocations in TransformArrayInitializers 3 years ago
Siegfried Pammer d3f8912d53 Handle special-cases with addressof: 3 years ago
Siegfried Pammer 702a7da2c3 Fix #2714: Force inlining of call targets in ctor initializers. 3 years ago
Siegfried Pammer 874ac9ac0b Fix #2712: TransformCollectionAndObjectInitializers fails to properly detect set-accessors of FakeProperties. 3 years ago
Siegfried Pammer d248867302 Add support for C# 10 record structs. 3 years ago
Siegfried Pammer 39992161b6 Fix #2692: NRE in DeconstructionTransform.IsCompatibleImplicitConversion 3 years ago
Siegfried Pammer 6a3bb2bbf1 Fix #2655: TranslateArrayInitializer crashes with out of order array init 3 years ago
Siegfried Pammer 9e462b53ad Add support for C# 11 parameter null checks 3 years ago
Daniel Grunwald ced6ed445a Fix #2582: Assertion when using named arguments in a constrained call 3 years ago
Siegfried Pammer a9c8f86abc Make TypeDef-ctor of FindTypeDecoder internal. 3 years ago