30 references to MetadataKind
Microsoft.CodeAnalysis (2)
MetadataReader\MetadataReaderExtensions.cs (1)
20
if (reader.MetadataKind ==
MetadataKind
.WindowsMetadata)
MetadataReference\AssemblyMetadata.cs (1)
421
if (!module.IsLinkedModule && module.MetadataReader.MetadataKind !=
MetadataKind
.WindowsMetadata)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
MetadataUtilities.cs (1)
424
if (reader.MetadataKind !=
MetadataKind
.WindowsMetadata)
System.Reflection.Metadata (27)
System\Reflection\Metadata\Internal\BlobHeap.cs (2)
16
internal BlobHeap(MemoryBlock block,
MetadataKind
metadataKind)
21
if (s_virtualValues == null && metadataKind !=
MetadataKind
.Ecma335)
System\Reflection\Metadata\Internal\StringHeap.cs (2)
19
internal StringHeap(MemoryBlock block,
MetadataKind
metadataKind)
23
if (s_virtualValues == null && metadataKind !=
MetadataKind
.Ecma335)
System\Reflection\Metadata\Internal\Tables.cs (2)
2021
MetadataKind
metadataKind)
2024
this.NumberOfVirtualRows = (metadataKind ==
MetadataKind
.Ecma335) ? 0 : (int)AssemblyReferenceHandle.VirtualIndex.Count;
System\Reflection\Metadata\MetadataReader.cs (14)
142
if (_metadataKind !=
MetadataKind
.Ecma335)
153
private readonly
MetadataKind
_metadataKind;
210
private
MetadataKind
GetMetadataKind(string versionString)
215
return
MetadataKind
.Ecma335;
220
return
MetadataKind
.Ecma335;
224
return
MetadataKind
.ManagedWindowsMetadata;
228
return
MetadataKind
.WindowsMetadata;
1013
public
MetadataKind
MetadataKind => _metadataKind;
1144
if (_metadataKind ==
MetadataKind
.Ecma335)
1161
if (_metadataKind ==
MetadataKind
.Ecma335)
1188
if (_metadataKind ==
MetadataKind
.Ecma335)
1216
if (_metadataKind ==
MetadataKind
.Ecma335)
1233
if (_metadataKind ==
MetadataKind
.Ecma335)
1265
if (_metadataKind ==
MetadataKind
.Ecma335)
System\Reflection\Metadata\MetadataReader.WinMD.cs (7)
223
Debug.Assert(_metadataKind !=
MetadataKind
.Ecma335);
232
if (_metadataKind ==
MetadataKind
.WindowsMetadata)
250
else if (_metadataKind ==
MetadataKind
.ManagedWindowsMetadata && NeedsWinRTPrefix(flags, extends))
288
else if (_metadataKind ==
MetadataKind
.ManagedWindowsMetadata && IsClrImplementationType(handle))
320
Debug.Assert(_metadataKind !=
MetadataKind
.Ecma335);
411
else if (_metadataKind ==
MetadataKind
.ManagedWindowsMetadata && (parentFlags & TypeAttributes.Public) == 0)
667
Debug.Assert(_metadataKind !=
MetadataKind
.Ecma335);