912 Commits (b80d20b15d3d9d0061aabbe47f4aced92197e76f)

Author SHA1 Message Date
Siegfried Pammer 3b2f00e44f Add test case. 4 years ago
Daniel Grunwald 3c554b5e6c Fix overload resolution: overloads with `in` parameters are applicable even if the argument is passed without explicit `in` 4 years ago
Daniel Grunwald 514cf9b03b Fix #1944: Add support for implicit conversions with `in` parameters. 4 years ago
Siegfried Pammer fdda8abd74 Fix #2282: Finalizers must be void and cannot be declared in interfaces 4 years ago
Siegfried Pammer f29205448b Fix #2283: Disallow all implicit conversions in switch on string. 4 years ago
Siegfried Pammer 63ca748b9a Fix #2283: string.to.int instruction entails a conversion to string of the input value 4 years ago
Daniel Grunwald 6951ccb1a2 Fix #2260: switch(string) transform: handle empty cases where the C# compiler optimizes out the `if` 4 years ago
Siegfried Pammer f52ce79da0 Fix #2278: Implement support for CSharpBinderFlags.InvokeSimpleName 4 years ago
Siegfried Pammer a5858f1694 Add support for primary constructor syntax. 4 years ago
Siegfried Pammer cc19e9043e Fix #603: Single element arrays should not span multiple lines 4 years ago
Siegfried Pammer 3df82cf33b Add support for 'with' expressions 4 years ago
Daniel Grunwald be9871981a Records: Detect compiler-generated Equals() in derived records. 4 years ago
Daniel Grunwald d9874380cd Records: support generic records 5 years ago
Daniel Grunwald 0bf6d552e0 Records: support for fields. 5 years ago
Daniel Grunwald a960216d5f Add test case for simple records. 5 years ago
Siegfried Pammer cfaf6cc93f Fix #2222: switch-expression does not support implicit conversions. 5 years ago
Daniel Grunwald 411457c4c7 #1240: Add support for Unsafe comparison intrinsics: `AreSame`, `IsAddressLessThan`, `IsAddressGreaterThan` 5 years ago
Daniel Grunwald 6e8c1b3117 ILReader: support comparison between StackType.Ref and StackType.I 5 years ago
Daniel Grunwald 782e4ae88c Fix #2215: Use `Unsafe` intrinsics for `ldobj`/`stobj` instructions. 5 years ago
Daniel Grunwald 54231edb4b Fix #2189: Invalid C# generated when pinning an unmanaged pointer. 5 years ago
Siegfried Pammer b9e4f7df8a Fix #2202: prevent casting null to void* if the expected target-type is (U)IntPtr? 5 years ago
Siegfried Pammer d3b0e4cd72 Fix #2196: Add support for extern local functions. 5 years ago
Siegfried Pammer 3a7c69e5b9 Fix #2192: Add support for VB.NET delegate construction 5 years ago
Siegfried Pammer be57dc454c Run tests with different versions of Roslyn 5 years ago
Daniel Grunwald 80cf72e498 #2182: Move "Transform call to struct constructor" from EarlyExpressionTransforms to ILReader. 5 years ago
Daniel Grunwald 47685c4b57 Fix weird casts to `nint` when writing to fields of unknown type. 5 years ago
Daniel Grunwald 6010757d22 Add support for .NET 5 custom calling conventions. 5 years ago
Daniel Grunwald 836bc37050 Upgrade ilasm.exe version. This allows us to write tests for the new function pointer calling conventions. 5 years ago
Daniel Grunwald 03787bfc70 Avoid parentheses around lambdas where possible. 5 years ago
Siegfried Pammer e5b0004d1c Fix build 5 years ago
Siegfried Pammer 8e9ecf6c36 Fix #2162: handle VariableInitializers like AssignmentExpressions in InsertParenthesesVisitor 5 years ago
Daniel Grunwald 63d1f5bb09 Adjust old `calli` test case to new function pointer syntax 5 years ago
Daniel Grunwald 6d3239678c Function pointers: add support for the builtin unmanaged calling conventions. 5 years ago
Daniel Grunwald 9381be2280 #2158: Fix decompilation of arithmetic on managed pointers after ConversionKind.StartGCTracking. 5 years ago
Daniel Grunwald a26a25d689 Fix #2158: Remove PointerType support from CSharpResolver for additions/subtractions. 5 years ago
Daniel Grunwald e8b35a481a Fix #2156: range syntax not being detected correctly in some cases 5 years ago
Siegfried Pammer 0b0a6d94a8 Add support for local function pointers. 5 years ago
Siegfried Pammer 13636c89cc Add support for C# 9: foreach with GetEnumerator extension methods. 5 years ago
Siegfried Pammer 1b47acfde7 Fix build. 5 years ago
Siegfried Pammer 9afbcba79a Fix #1796: Use hexadecimal literals with bitwise operators. 5 years ago
Daniel Grunwald 0e1c24464f Fix #2148: Don't attempt to detect `fixed` statement for pinned value types 5 years ago
Daniel Grunwald 5c6b9897c1 Avoid redundant casts + adjust NoExtensionMethods ugly test. 5 years ago
Daniel Grunwald b8796908f6 Fix some type inference issues with pointer types. 5 years ago
Daniel Grunwald d13a8bb64d Support `ldftn` in the context of a function pointer. 5 years ago
Daniel Grunwald 3831b42197 Properly support `calli` instruction and its interaction with function pointer types. 5 years ago
Daniel Grunwald cabb02b5fd Add support for decoding function pointer types in signatures. 5 years ago
Siegfried Pammer 549f7fb44d Fix #2143: Missing `this.` qualification in lambda 5 years ago
Siegfried Pammer 04f9603768 Fix #2140: ILSpy 6.2p1 no longer respects "use discards" setting 5 years ago
Daniel Grunwald 7f915ad035 Add `OutVarResolveResult` to overload resolution (not yet used by CallBuilder) 5 years ago
Daniel Grunwald c775d3a98f Upgrade Roslyn version used for our tests (from 3.7.0 to 3.8.0-2.final) and adjust NativeInteger attribute decoding. 5 years ago