1888 Commits (07d5a01d2bb30c50a6daaf80fce059bfaf4ffbf8)

Author SHA1 Message Date
Siegfried Pammer d70a5e7fb2 Fix #3626: Do not emit named arguments for bool constants, if it causes the call to become ambiguous. 7 months ago
Siegfried Pammer 0ed123af07 #3621: Fix NRE when switching language version to C# 8.0 or lower. 7 months ago
Siegfried Pammer 3fd9981535 Fix #3621: Fix multiple uses of primary ctor parameter in initializer of record. 7 months ago
Siegfried Pammer c34cc100b6 Records: Exclude static members from copy constructor check 8 months ago
Siegfried Pammer 2bb06709e9 RecordDecompiler: nullable enable 8 months ago
Siegfried Pammer 2271229b23 Fix #3618: Extend validation of declared members and ctor parameters 8 months ago
Siegfried Pammer 396b58031b Add support for C# 14 first-class span types in the type system. 8 months ago
mmusu3 88b2c437a7 Address PR review feedback 8 months ago
Siegfried Pammer 45efc732a7 #3614: Use correct number of type arguments when adding type annotations to generic types with nested types. 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 f6c763e7bb Add tests for ExtensionEncodingV1 and ExtensionEncodingV2. 8 months ago
Siegfried Pammer 126e870a5a Fix #3577: Properly infer the switch governing type and preserve conversions 9 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
Siegfried Pammer d736b02e2b Fix #3480: assert at ExpressionBuilder.BuildArrayInitializerExpression with properties that are not C# indexers, but parameterized properties. 9 months ago
Siegfried Pammer b403b7bb3d Fix #3542: Invalid explicit cast for implicit conversion to generic struct with interface type constraint 9 months ago
ds5678 c54318173b Fix lower case type name conflicting with variable name 9 months ago
Siegfried Pammer 732f285c41 Rename KnownAttributes.RequiredAttribute to KnownAttributes.Required 10 months ago
Siegfried Pammer e34db06a67 Fix #3543: Missing parentheses around field assignment expression in list initializers 10 months ago
Siegfried Pammer 48ff85178d #3545: Properties must have a getter for covariant returns to be applicable. 10 months ago
Siegfried Pammer 3442fad4a0 Fix #3545: Covariant return not detected for abstract override property 10 months ago
Peter Crabtree e1e16b64f5 dev: Strip BOM mark from text files 10 months ago
Daniel Grunwald bd9ee28552 Fix #1789: missing hyperlink for `MethodGroupResolveResult`. 11 months ago
Daniel Grunwald ec58d57875 #3465: Fix bugs in `comp.o` handling. 11 months ago
Daniel Grunwald 89083eaf48 Fix #3344: Add support for the `ckfinite` opcode. 11 months ago
Daniel Grunwald dd4bf7d8a4 Fix #3518 by replacing `FixLoneIsInst` with an inlining restriction. 11 months ago
Jan Kučera 9d11f523b1 Always move initializer decompilation setting 11 months ago
Siegfried Pammer 6c00c138eb Fix #3465: Translate comp.o(a op b) if op not in (==, !=) into Unsafe.As<object, UIntPtr>(ref a) op Unsafe.As<object, UIntPtr>(ref b) 11 months ago
Maximilian Schmöcker 43bfaba7e0
Add ExpandParamsArguments DecompilerSettings 11 months ago
Maximilian Schmöcker 850ffe593d
Fix methods with mandatory arguments ignore disabled OptionalArguments setting 11 months ago
Siegfried Pammer f8dcd95b31 Add support for extensions in CSharpDecompiler 11 months ago
Siegfried Pammer 9157122462 Add ExtensionDeclaration syntax node 11 months ago
Siegfried Pammer 29bd78a9c9 Add DecompilerSettings.ExtensionMembers and Language version 14 11 months ago
Siegfried Pammer 68ae8ae833 Rename ITypeDefinition.HasExtensionMethods to ITypeDefinition.HasExtensions 11 months ago
Siegfried Pammer 7ea2c8f32f Remove dead code 11 months ago
Siegfried Pammer c642678f7f Remove ToTypeReference: Implement ParseReflectionName with SRM TypeName. 11 months ago
lordmilko 9498c8d3d9
Allow specifying an IDecompilerTypeSystem rather than a DecompilerTypeSystem to CSharpDecompiler 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 6955704172 Updated CSharpConversions according to https://github.com/dotnet/csharpstandard/blob/draft-v9/standard/conversions.md 11 months ago
Daniel Grunwald 235ae52756 Always attempt standard implicit conversions before user-defined conversions. 11 months ago
Siegfried Pammer ddb7171a2a Fix #3524: Property without backing field cannot have an initializer. 11 months ago