44 references to _methodTables
Microsoft.Diagnostics.DataContractReader.Contracts (44)
Contracts\RuntimeTypeSystem_1.cs (44)
37
_methodTables
.Clear();
475
if (
_methodTables
.ContainsKey(typeHandlePointer))
494
_ =
_methodTables
.TryAdd(methodTablePointer, trustedMethodTable);
503
_ =
_methodTables
.TryAdd(methodTablePointer, trustedMethodTable);
515
_ =
_methodTables
.TryAdd(methodTablePointer, trustedMethodTableF);
522
return
_methodTables
[typeHandle.Address].Module;
546
public bool IsCanonicalMethodTable(TypeHandle typeHandle) => typeHandle.IsMethodTable() &&
_methodTables
[typeHandle.Address].IsCanonMT;
547
public TargetPointer GetParentMethodTable(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null :
_methodTables
[typeHandle.Address].ParentMethodTable;
549
public uint GetBaseSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 :
_methodTables
[typeHandle.Address].Flags.BaseSize;
551
public uint GetNumInstanceFieldBytes(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 :
_methodTables
[typeHandle.Address].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding;
553
public uint GetComponentSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 :
_methodTables
[typeHandle.Address].Flags.ComponentSize;
559
MethodTable methodTable =
_methodTables
[typeHandle.Address];
567
MethodTable canonMT =
_methodTables
[canonMTHandle.Address];
586
public bool IsString(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false :
_methodTables
[typeHandle.Address].Flags.IsString;
615
public bool ContainsGCPointers(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false :
_methodTables
[typeHandle.Address].Flags.ContainsGCPointers;
616
public bool IsByRefLike(TypeHandle typeHandle) => typeHandle.IsMethodTable() &&
_methodTables
[typeHandle.Address].Flags.IsByRefLike;
617
public bool RequiresAlign8(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false :
_methodTables
[typeHandle.Address].Flags.RequiresAlign8;
620
&&
_methodTables
[typeHandle.Address].ParentMethodTable == ContinuationMethodTablePointer
698
public bool IsDynamicStatics(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false :
_methodTables
[typeHandle.Address].Flags.IsDynamicStatics;
699
public ushort GetNumInterfaces(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 :
_methodTables
[typeHandle.Address].NumInterfaces;
705
MethodTable methodTable =
_methodTables
[typeHandle.Address];
712
MethodTable methodTable =
_methodTables
[typeHandle.Address];
742
public bool IsTrackedReferenceWithFinalizer(TypeHandle typeHandle) => typeHandle.IsMethodTable() &&
_methodTables
[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer;
748
MethodTable methodTable =
_methodTables
[typeHandle.Address];
758
MethodTable methodTable =
_methodTables
[typeHandle.Address];
806
MethodTable methodTable =
_methodTables
[typeHandle.Address];
817
MethodTable methodTable =
_methodTables
[typeHandle.Address];
826
MethodTable methodTable =
_methodTables
[typeHandle.Address];
839
MethodTable methodTable = rts.
_methodTables
[typePointer];
859
public bool IsGenericTypeDefinition(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false :
_methodTables
[typeHandle.Address].Flags.IsGenericTypeDefinition;
885
return
_methodTables
[typeHandle.Address].Flags.ContainsGenericVariables;
888
public bool IsCollectible(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false :
_methodTables
[typeHandle.Address].Flags.IsCollectible;
893
MethodTable methodTable =
_methodTables
[typeHandle.Address];
915
MethodTable methodTable =
_methodTables
[typeHandle.Address];
959
MethodTable methodTable =
_methodTables
[typeHandle.Address];
979
MethodTable methodTable =
_methodTables
[typeHandle.Address];
997
MethodTable methodTable =
_methodTables
[typeHandle.Address];
1022
MethodTable methodTable =
_methodTables
[typeHandle.Address];
1110
MethodTable methodTable =
_methodTables
[typeHandle.Address];
1294
MethodTable mt =
_methodTables
[typeHandle.Address];
1594
return
_methodTables
[methodDesc.MethodTable];
1632
MethodTable mt =
_methodTables
[typeHandle.Address];
1929
Debug.Assert(
_methodTables
[typeHandle.Address].IsCanonMT);
2023
Debug.Assert(
_methodTables
[typeHandle.Address].IsCanonMT);