1 write to TypeDefTable
System.Reflection.Metadata (1)
System\Reflection\Metadata\MetadataReader.cs (1)
611
this.
TypeDefTable
= new TypeDefTableReader(rowCounts[(int)TableIndex.TypeDef], fieldRefSizeSorted, methodRefSizeSorted, typeDefOrRefRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
38 references to TypeDefTable
System.Reflection.Metadata (38)
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
51
TableIndex.TypeDef => reader.
TypeDefTable
.RowSize,
132
TableIndex.TypeDef => reader.
TypeDefTable
.Block,
System\Reflection\Metadata\Internal\NamespaceCache.cs (1)
337
NamespaceDefinitionHandle namespaceHandle = _metadataReader.
TypeDefTable
.GetNamespaceDefinition(typeHandle);
System\Reflection\Metadata\MetadataReader.cs (10)
612
totalRequiredSize += this.
TypeDefTable
.Block.Length;
844
firstFieldRowId = this.
TypeDefTable
.GetFieldStart(typeDefRowId);
850
else if (typeDefRowId == this.
TypeDefTable
.NumberOfRows)
856
lastFieldRowId = this.
TypeDefTable
.GetFieldStart(typeDefRowId + 1) - 1;
863
firstMethodRowId = this.
TypeDefTable
.GetMethodStart(typeDefRowId);
869
else if (typeDefRowId == this.
TypeDefTable
.NumberOfRows)
875
lastMethodRowId = this.
TypeDefTable
.GetMethodStart(typeDefRowId + 1) - 1;
1031
public TypeDefinitionHandleCollection TypeDefinitions => new TypeDefinitionHandleCollection(
TypeDefTable
.NumberOfRows);
1335
return
TypeDefTable
.FindTypeContainingMethod(methodRowId, MethodDefTable.NumberOfRows);
1350
return
TypeDefTable
.FindTypeContainingField(fieldRowId, FieldTable.NumberOfRows);
System\Reflection\Metadata\MetadataReader.WinMD.cs (15)
56
StringHandle name =
TypeDefTable
.GetName(typeDef);
64
StringHandle namespaceName =
TypeDefTable
.GetNamespace(typeDef);
227
TypeAttributes flags =
TypeDefTable
.GetFlags(handle);
228
EntityHandle extends =
TypeDefTable
.GetExtends(handle);
304
var attrs =
TypeDefTable
.GetFlags(typeDef);
311
return StringHeap.StartsWithRaw(
TypeDefTable
.GetName(typeDef), ClrPrefix);
395
TypeAttributes parentFlags =
TypeDefTable
.GetFlags(parentTypeDef);
419
var parentBaseType =
TypeDefTable
.GetExtends(parentTypeDef);
550
EntityHandle baseTypeHandle =
TypeDefTable
.GetExtends(typeDef);
681
if (StringHeap.EqualsRaw(
TypeDefTable
.GetNamespace(targetTypeDef), "Windows.Foundation.Metadata"))
683
if (StringHeap.EqualsRaw(
TypeDefTable
.GetName(targetTypeDef), "VersionAttribute"))
688
if (StringHeap.EqualsRaw(
TypeDefTable
.GetName(targetTypeDef), "DeprecatedAttribute"))
773
if (
TypeDefTable
.GetFlags(typeDef).IsNested())
779
typeName =
TypeDefTable
.GetName(typeDef);
780
namespaceName =
TypeDefTable
.GetNamespace(typeDef);
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (10)
47
return _reader.
TypeDefTable
.GetFlags(Handle);
68
return _reader.
TypeDefTable
.GetName(Handle);
84
return _reader.
TypeDefTable
.GetNamespace(Handle);
100
return _reader.
TypeDefTable
.GetNamespaceDefinition(Handle);
117
return _reader.
TypeDefTable
.GetExtends(Handle);
222
var flags = _reader.
TypeDefTable
.GetFlags(Handle);
267
var name = _reader.
TypeDefTable
.GetName(Handle);
283
return _reader.
TypeDefTable
.GetNamespaceDefinition(Handle);
289
return _reader.
TypeDefTable
.GetNamespace(Handle);
295
return _reader.
TypeDefTable
.GetExtends(Handle);