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