4079 Commits (343694c5499d2dd68896563bbbfc72604231deef)

Author SHA1 Message Date
Siegfried Pammer 343694c549 Generalize progress reporting for decompilation and PDB generation. 3 years ago
Andrew Crawley (US - DIAGNOSTICS) a494bfadbe Add progress reporting to PortablePdbWriter 3 years ago
Siegfried Pammer 9017592d1d Fix #2764: Move constant field initializers regardless of whether the other field initializers can be moved. 3 years ago
Siegfried Pammer b85d1ba65a Fix #2771: Allow MetadataTypeDefinition.DefaultMemberName to return null if DefaultMemberAttribute is not present. 3 years ago
Siegfried Pammer e8c4f29738 #2797: Clarify exception message, if type is not found in the module being decompiled. 3 years ago
Siegfried Pammer b87f3753e2 Fix #2786: Structs with static reference type fields not recognized as unmanaged 3 years ago
Siegfried Pammer b9f2fc4f96 Fix #2781: Fix missing nullability annotation on base type 3 years ago
Siegfried Pammer 47250d670b Fix #2791: Ensure that the capture scope used is either a loop or the ILFunction root container. 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 ed02b2eb9e Add MemberNotNullWhenAttribute to IMethod, IProperty and IEvent. Make sure that it's guaranteed that AccessorOwner is non-null, when IsAccessor is true. 3 years ago
Siegfried Pammer 9f6f7a03ac Fix #2788: Handling of cpobj in ILReader was missing the stobj special case for the target pointer. 3 years ago
Siegfried Pammer 1ac1bd6eab Remove context field from TransformCollectionAndObjectInitializers, inline DoTransform. 3 years ago
ElektroKill 1447038ce1
Fix #2736 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 500b439c5d Another round of fixes in TryReadResource 3 years ago
Siegfried Pammer 7444dd96e3 Refactor Resource.TryGetLength and TryOpenStream. 3 years ago
Siegfried Pammer 3c0ab6a2ce Fix #2780: Show embedded resource size 3 years ago
Siegfried Pammer 81f575e9ce Use PopStObjTarget in ILReader, if a call instruction has the same semantics as initobj. 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
Daniel Grunwald 9254abcf88 Fix StObj.CheckTargetSlot assertion 3 years ago
Daniel Grunwald c36c6efb2a ILReader: don't create stack slots if we can directly created inlined ILAst 3 years ago
Siegfried Pammer af56bb10d0 Determine isBranchTarget in a separate pass. We will need it for an optimization to ILReader in a future commit. 3 years ago
Daniel Grunwald 0fbbb6d95e Fix #2777: StackOverflowException with recursive delegates 3 years ago
Christoph Wille 571ae3b5fd
ICS.D is used downstream with specific version requirements re:dependencies. ILSpy itself can use newer version, thus ICS.D.csproj is no longer using version vars from packages.props (#2776) 3 years ago
hexafluoride fc6ae4c645 Add option to always fully qualify type names with global:: 3 years ago
Siegfried Pammer 6d4c5f3273
Fix #2757: Inject ILSpyUpdateAssemblyInfo into GetPackageVersionDependsOn so Pack uses the generated version when evaluating project references. (#2769) 3 years ago
Siegfried Pammer cd1cea7d85 Fix #2759: Some characters cause rendering issues in the tree view causing ILSpy to freeze. Also ignore embedded resources with an invalid offset, treat them as having zero byte length. 3 years ago
Daniel Grunwald 8b906f5c65 Fix unnecessary dict creation in TSAB constructor. 3 years ago
Siegfried Pammer 583f661153 Work on #1204: Add optimized implementation of HasAttribute and GetAttribute to IEntity. 3 years ago
Daniel Grunwald a06de7171c Fix comments 3 years ago
Christoph Wille b6766d906a 8.0.0-preview2 will be next version 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
Siegfried Pammer 48a8351e27 Use Unsafe.SizeOf when taking the size of a managed type. 3 years ago
Siegfried Pammer 2ed9ad6b51 Add support for C# 11 scoped parameter modifier. 3 years ago
Siegfried Pammer 5f324de10b Add support for ref fields. 3 years ago
Siegfried Pammer 1f1e95d7a1 Update RecordDecompiler for Roslyn 4.3.0. 3 years ago
Daniel Grunwald 3c847b56a2 Fix decompilation of async streams compiled with Roslyn 4.2 3 years ago
Daniel Grunwald 21c3ec046f Output attributes on lambda expressions 3 years ago
Siegfried Pammer 5046e4cf60 Fix #2718, Fix #2719, Fix #2725: Remove WPF compiler-generated code. 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
Siegfried Pammer fbafc0289b Fix #2741: CallBuilder produces invalid invocation target when disambiguating calls to protected methods. 3 years ago
Siegfried Pammer 5078796b17 Add support for string format alignment. 3 years ago
Siegfried Pammer 186cc51bf7 Fix #2733: Ignore bad metadata when trying to resolve ResolutionScope 3 years ago
ElektroKill 760a6a653e
Reduce allocations in TransformArrayInitializers 3 years ago
Siegfried Pammer d3f8912d53 Handle special-cases with addressof: 3 years ago