Browse Source

Hide compiler-generated InlineArray types.

net10upgrade-future
Siegfried Pammer 4 weeks ago
parent
commit
0a2e062ab3
  1. 2
      ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs
  2. 2
      ILSpy-tests

2
ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs

@ -316,6 +316,8 @@ namespace ICSharpCode.Decompiler.CSharp @@ -316,6 +316,8 @@ namespace ICSharpCode.Decompiler.CSharp
return true;
if (settings.FixedBuffers && name.StartsWith("<", StringComparison.Ordinal) && name.Contains("__FixedBuffer"))
return true;
if (settings.InlineArrays && name.StartsWith("<>y__InlineArray", StringComparison.Ordinal) && name.EndsWith("`1"))
return true;
}
else if (type.IsCompilerGenerated(metadata))
{

2
ILSpy-tests

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit dd5081d55372c57744874042f60e7c23ff69f5f6
Subproject commit 6cc4bb2942a1c6a134510ad4d916f77604d37b51
Loading…
Cancel
Save