46 references to _methodTables
Microsoft.Diagnostics.DataContractReader.Contracts (46)
Contracts\RuntimeTypeSystem_1.cs (46)
37_methodTables.Clear(); 453if (_methodTables.ContainsKey(typeHandlePointer)) 472_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 481_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 493_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTableF); 500return _methodTables[typeHandle.Address].Module; 524public bool IsCanonicalMethodTable(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].IsCanonMT; 525public TargetPointer GetParentMethodTable(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.Address].ParentMethodTable; 527public uint GetBaseSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize; 529public uint GetNumInstanceFieldBytes(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding; 531public uint GetComponentSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.ComponentSize; 537MethodTable methodTable = _methodTables[typeHandle.Address]; 545MethodTable canonMT = _methodTables[canonMTHandle.Address]; 564public bool IsString(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsString; 571public bool ContainsGCPointers(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.ContainsGCPointers; 572public bool RequiresAlign8(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.RequiresAlign8; 575&& _methodTables[typeHandle.Address].ParentMethodTable == _continuationMethodTablePointer 653public bool IsDynamicStatics(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 654public ushort GetNumInterfaces(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.Address].NumInterfaces; 660MethodTable methodTable = _methodTables[typeHandle.Address]; 667MethodTable methodTable = _methodTables[typeHandle.Address]; 697public bool IsTrackedReferenceWithFinalizer(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 703MethodTable methodTable = _methodTables[typeHandle.Address]; 713MethodTable methodTable = _methodTables[typeHandle.Address]; 761MethodTable methodTable = _methodTables[typeHandle.Address]; 772MethodTable methodTable = _methodTables[typeHandle.Address]; 781MethodTable methodTable = _methodTables[typeHandle.Address]; 794MethodTable methodTable = rts._methodTables[typePointer]; 814public bool IsGenericTypeDefinition(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 840return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 843public bool IsCollectible(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 848MethodTable methodTable = _methodTables[typeHandle.Address]; 870MethodTable methodTable = _methodTables[typeHandle.Address]; 914MethodTable methodTable = _methodTables[typeHandle.Address]; 934MethodTable methodTable = _methodTables[typeHandle.Address]; 952MethodTable methodTable = _methodTables[typeHandle.Address]; 977MethodTable methodTable = _methodTables[typeHandle.Address]; 1065MethodTable methodTable = _methodTables[typeHandle.Address]; 1243MethodTable mt = _methodTables[typeHandle.Address]; 1348MethodTable mt = _methodTables[methodDesc.MethodTable]; 1388MethodTable mt = _methodTables[methodDesc.MethodTable]; 1400TargetPointer modulePtr = _methodTables[methodDesc.MethodTable].Module; 1543return _methodTables[methodDesc.MethodTable]; 1581MethodTable mt = _methodTables[typeHandle.Address]; 1878Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT); 1966Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT);