8259 Commits (9a4e49a7d4ca6a19d3f548773333c059f9d7e73f)
 

Author SHA1 Message Date
sonyps5201314 9a4e49a7d4 Fixed an issue where the "CopilotQueriedScopeMention" type in "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\Microsoft.VisualStudio.Copilot.Contracts\Microsoft.VisualStudio.Copilot.dll" could not be decompiled correctly after expanding the judgment logic of IsPrimaryConstructor. 2 months ago
sonyps5201314 554ec92e73 Fix the issue where parameters in the base class constructor call are not passed correctly for inherited classes declared using the primary constructor form (e.g., the `DeserializationException` type in RestSharp), and also fix the subsequent issue where an extra parenthesis '()' is output if the base class is an interface (e.g., the `XmlRestSerializer` type in RestSharp). 2 months ago
sonyps5201314 828fb52390 `IsBaseCtorCall` no longer checks the number of parameters. Otherwise, it would cause the translation of the `DeserializationException` type in `https://github.com/restsharp/RestSharp/blob/dev/src/RestSharp/Serializers/DeseralizationException.cs` to fail, as it is a primary constructor declaration that calls a base constructor with two arguments. 2 months ago
sonyps5201314 8d1cfee963 The internal judgment logic of IsPrimaryConstructor should exclude the copy constructor first, otherwise it will be judged incorrectly whether the NamedParameter type in https://github.com/restsharp/RestSharp/blob/dev/src/RestSharp/Parameters/Parameter.cs uses the primary constructor. 2 months ago
sonyps5201314 10ce064833 Fixed the issue where the DefaultParameters type in https://github.com/restsharp/RestSharp/blob/dev/src/RestSharp/Parameters/DefaultParameters.cs was incorrectly judged as to whether the primary constructor was used due to incorrect initialization logic of isStruct and isInheritedRecord in the constructor of the RecordDecompiler class. 2 months ago
sonyps5201314 aae1a28895 The IsPrimaryConstructor function is reimplemented based on some of dotPeek's judgment rules and the definition and characteristics of the primary constructor. However, it is found that dotPeek's judgment logic is also problematic. For example, it does not support the following scenario: ``` class WebPair(string name, string? value, ref readonly object encode) { public string Name { get; } = name; public string? Value { get; } = value; string? WebValue { get; } = encode is null ? "111" : value; string? WebValue2 { get; } = encode.ToString(); } ``` 2 months ago
sonyps5201314 e8f32ec592 Fixed the issue where IsPrimaryConstructor's judgment was too conservative, which resulted in the inability to generate correct code in many scenarios. 2 months ago
Siegfried Pammer 126e870a5a Fix #3577: Properly infer the switch governing type and preserve conversions 3 months ago
Christoph Wille 4f11813829
.NET 10 RC2 packages (#3599) 3 months ago
Youssef Victor eebc8ea222
Move from dotnet.config to global.json (#3553) 3 months ago
Christoph Wille df49abdaeb
Merge pull request #3594 from icsharpcode/dependabot/github_actions/github/codeql-action-4 3 months ago
dependabot[bot] 80a9f51379
Bump github/codeql-action from 3 to 4 3 months ago
Siegfried Pammer c075f7b9c8 Fix out var for expressions appearing in a lambda and not in a statement. 3 months ago
Siegfried Pammer d11c40719d #3569: Don't move out variable declarations out of lambdas. 3 months ago
Siegfried Pammer 995d31fc2d Fix #3318: missing x:FieldModifier in BAML decompiler 3 months ago
Siegfried Pammer d736b02e2b Fix #3480: assert at ExpressionBuilder.BuildArrayInitializerExpression with properties that are not C# indexers, but parameterized properties. 3 months ago
Christoph Wille 8b1fb633f3
Merge pull request #3589 from miloush/master 3 months ago
Jan Kučera 5297b0b322 List name first in ILSpy title for multiple instance 3 months ago
Christoph Wille e214742c91
Merge pull request #3550 from icsharpcode/fix/3521 3 months ago
Siegfried Pammer 7e8b0500ce Add nullability annotations to some tree nodes. 3 months ago
Siegfried Pammer d6ab43d839 Fix #3521: Add API to set an initially highlighted entity after navigation. 3 months ago
Siegfried Pammer b403b7bb3d Fix #3542: Invalid explicit cast for implicit conversion to generic struct with interface type constraint 3 months ago
Daniel Grunwald d13835e2cc Add test for "params scoped Span'. 3 months ago
dependabot[bot] ed36ba1d8a
Bump ossf/scorecard-action from 2.4.2 to 2.4.3 (#3583) 3 months ago
Jeremy Pritts b50f4e1d72
Enable detection of .NET version without TargetFrameworkAttribute (#3580) 3 months ago
Siegfried Pammer 16b74f6aec
Merge pull request #3579 from ds5678/issue3576 3 months ago
ds5678 dc3ed43dd8 Do not create object initializers for tuples 3 months ago
Siegfried Pammer 7b03606402 Fix #3575: Uses of compiler-generated events getting swapped with non-generated events of same type 3 months ago
Siegfried Pammer 4ed73717e1
Merge pull request #3572 from ds5678/issue3571 3 months ago
ds5678 fafc434133 Formatting 3 months ago
ds5678 d793781eea Remove obsolete tests 3 months ago
ds5678 6fb6b63a2c Fix ugly test 3 months ago
ds5678 df9cc3dfbe Null forgiveness for UsingScope 3 months ago
ds5678 c54318173b Fix lower case type name conflicting with variable name 3 months ago
Siegfried Pammer 808b6d36db Fix #3574: MMB shortcut to "Decompile to new tab" doesn't work in Search tab 3 months ago
Siegfried Pammer 52b753c800 Switch StackPanel with DockPanel in search panel GridViewColumns to make TextBlock.TextTrimming have an effect. 3 months ago
Siegfried Pammer 61f82d0c2d Fix #3563: Add support for ildasm /caverbal format 3 months ago
Siegfried Pammer a79a587154 Fix SaveToDisk default filename suggestion to use the text of the tree node instead. The ToString() implementation returns the tree node path, which always starts with the full path of the loaded assembly. So in my case the suggested file name was always "C" when the assembly was located on the C: drive. 3 months ago
Siegfried Pammer 0e1478ffce Fix #3564: extend TransformDisplayClassUsage.IsPotentialClosure to support sibling DisplayClasses calling each other. 3 months ago
Siegfried Pammer 9b0e3a1605 Fix folding of local functions, if "Fold all braces" is disabled. 3 months ago
Siegfried Pammer 9c39e9ba48
Merge pull request #3560 from ds5678/issue3541 4 months ago
ds5678 1d964bce8e Fix regression in decompiling local functions with default parameters 4 months ago
Siegfried Pammer cce3e3b12d
Merge pull request #3556 from icsharpcode/christophwille/dotnet10rc1 4 months ago
Siegfried Pammer 7f84d24167 Add support for new extension everything encoding. 4 months ago
Jeremy Pritts d1dc7b258a
Copy-propagate the stack slot for collection initializers (#3554) 4 months ago
Siegfried Pammer 17a533647b Add C# 14 ExtensionMarkerAttribute 4 months ago
Siegfried Pammer 732f285c41 Rename KnownAttributes.RequiredAttribute to KnownAttributes.Required 4 months ago
Christoph Wille b4d33af238 Update packages to .NET 10 RC1 4 months ago
dependabot[bot] bd06b7087f
Bump actions/setup-dotnet from 4 to 5 (#3555) 4 months ago
Siegfried Pammer 58bf5efe17 DebugDirectoryTreeNode: PointerToRawData was always showing 0 and AddressOfRawData was showing the wrong value. 4 months ago