47 references to _methodTables
Microsoft.Diagnostics.DataContractReader.Contracts (47)
Contracts\RuntimeTypeSystem_1.cs (47)
48_methodTables.Clear(); 476if (_methodTables.ContainsKey(typeHandlePointer)) 495_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 504_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 516_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTableF); 523return _methodTables[typeHandle.Address].Module; 547public bool IsCanonicalMethodTable(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].IsCanonMT; 548public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.Address].ParentMethodTable; 550public uint GetBaseSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize; 552public uint GetNumInstanceFieldBytes(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding; 554public uint GetComponentSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.ComponentSize; 560MethodTable methodTable = _methodTables[typeHandle.Address]; 568MethodTable canonMT = _methodTables[canonMTHandle.Address]; 618public bool IsString(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsString; 647public bool ContainsGCPointers(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.ContainsGCPointers; 648public bool IsByRefLike(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsByRefLike; 664if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsHFA) 672elementSize = _methodTables[typeHandle.Address].Flags.RequiresAlign8 ? 8 : 4; 725if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsIntrinsicType) 798public bool RequiresAlign8(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.RequiresAlign8; 836&& _methodTables[typeHandle.Address].ParentMethodTable == ContinuationMethodTablePointer 914public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 915public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.Address].NumInterfaces; 921MethodTable methodTable = _methodTables[typeHandle.Address]; 928MethodTable methodTable = _methodTables[typeHandle.Address]; 966public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 972MethodTable methodTable = _methodTables[typeHandle.Address]; 982MethodTable methodTable = _methodTables[typeHandle.Address]; 1030MethodTable methodTable = _methodTables[typeHandle.Address]; 1041MethodTable methodTable = _methodTables[typeHandle.Address]; 1050MethodTable methodTable = _methodTables[typeHandle.Address]; 1063MethodTable methodTable = rts._methodTables[typePointer]; 1083public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 1109return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 1112public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 1117MethodTable methodTable = _methodTables[typeHandle.Address]; 1139MethodTable methodTable = _methodTables[typeHandle.Address]; 1183MethodTable methodTable = _methodTables[typeHandle.Address]; 1203MethodTable methodTable = _methodTables[typeHandle.Address]; 1221MethodTable methodTable = _methodTables[typeHandle.Address]; 1246MethodTable methodTable = _methodTables[typeHandle.Address]; 1334MethodTable methodTable = _methodTables[typeHandle.Address]; 1588MethodTable mt = _methodTables[typeHandle.Address]; 1965return _methodTables[methodDesc.MethodTable]; 2002MethodTable mt = _methodTables[typeHandle.Address]; 2310Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT); 2422Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT);