|
|
|
@ -125,7 +125,8 @@ namespace ICSharpCode.ILSpy.Metadata
@@ -125,7 +125,8 @@ namespace ICSharpCode.ILSpy.Metadata
|
|
|
|
|
MethodSteppingInformation, |
|
|
|
|
CompilationOptions, |
|
|
|
|
CompilationMetadataReferences, |
|
|
|
|
TupleElementNames |
|
|
|
|
TupleElementNames, |
|
|
|
|
TypeDefinitionDocuments |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static CustomDebugInformationKind GetKind(MetadataReader metadata, GuidHandle h) |
|
|
|
@ -177,6 +178,10 @@ namespace ICSharpCode.ILSpy.Metadata
@@ -177,6 +178,10 @@ namespace ICSharpCode.ILSpy.Metadata
|
|
|
|
|
{ |
|
|
|
|
return CustomDebugInformationKind.TupleElementNames; |
|
|
|
|
} |
|
|
|
|
if (KnownGuids.TypeDefinitionDocuments == guid) |
|
|
|
|
{ |
|
|
|
|
return CustomDebugInformationKind.TypeDefinitionDocuments; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return CustomDebugInformationKind.Unknown; |
|
|
|
|
} |
|
|
|
@ -251,6 +256,9 @@ namespace ICSharpCode.ILSpy.Metadata
@@ -251,6 +256,9 @@ namespace ICSharpCode.ILSpy.Metadata
|
|
|
|
|
case CustomDebugInformationKind.TupleElementNames: |
|
|
|
|
kindString = $"{MetadataTokens.GetHeapOffset(debugInfo.Kind):X8} - Tuple Element Names (C#) [{ guid}]"; |
|
|
|
|
break; |
|
|
|
|
case CustomDebugInformationKind.TypeDefinitionDocuments: |
|
|
|
|
kindString = $"{MetadataTokens.GetHeapOffset(debugInfo.Kind):X8} - Type Definition Documents (C# / VB) [{ guid}]"; |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
kindString = $"{MetadataTokens.GetHeapOffset(debugInfo.Kind):X8} - Unknown [{guid}]"; |
|
|
|
|
break; |
|
|
|
|