47 references to _methodTables
Microsoft.Diagnostics.DataContractReader.Contracts (47)
Contracts\RuntimeTypeSystem_1.cs (47)
48_methodTables.Clear(); 474if (_methodTables.ContainsKey(typeHandlePointer)) 493_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 502_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 514_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTableF); 521return _methodTables[typeHandle.Address].Module; 545public bool IsCanonicalMethodTable(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].IsCanonMT; 546public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.Address].ParentMethodTable; 548public uint GetBaseSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize; 550public uint GetNumInstanceFieldBytes(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding; 552public uint GetComponentSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.ComponentSize; 558MethodTable methodTable = _methodTables[typeHandle.Address]; 566MethodTable canonMT = _methodTables[canonMTHandle.Address]; 616public bool IsString(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsString; 645public bool ContainsGCPointers(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.ContainsGCPointers; 646public bool IsByRefLike(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsByRefLike; 662if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsHFA) 670elementSize = _methodTables[typeHandle.Address].Flags.RequiresAlign8 ? 8 : 4; 723if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsIntrinsicType) 796public bool RequiresAlign8(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.RequiresAlign8; 834&& _methodTables[typeHandle.Address].ParentMethodTable == ContinuationMethodTablePointer 912public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 913public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.Address].NumInterfaces; 919MethodTable methodTable = _methodTables[typeHandle.Address]; 926MethodTable methodTable = _methodTables[typeHandle.Address]; 964public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 970MethodTable methodTable = _methodTables[typeHandle.Address]; 980MethodTable methodTable = _methodTables[typeHandle.Address]; 1028MethodTable methodTable = _methodTables[typeHandle.Address]; 1039MethodTable methodTable = _methodTables[typeHandle.Address]; 1048MethodTable methodTable = _methodTables[typeHandle.Address]; 1061MethodTable methodTable = rts._methodTables[typePointer]; 1081public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 1107return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 1110public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 1115MethodTable methodTable = _methodTables[typeHandle.Address]; 1137MethodTable methodTable = _methodTables[typeHandle.Address]; 1181MethodTable methodTable = _methodTables[typeHandle.Address]; 1201MethodTable methodTable = _methodTables[typeHandle.Address]; 1219MethodTable methodTable = _methodTables[typeHandle.Address]; 1244MethodTable methodTable = _methodTables[typeHandle.Address]; 1332MethodTable methodTable = _methodTables[typeHandle.Address]; 1549MethodTable mt = _methodTables[typeHandle.Address]; 1892return _methodTables[methodDesc.MethodTable]; 1929MethodTable mt = _methodTables[typeHandle.Address]; 2229Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT); 2339Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT);