47 references to _methodTables
Microsoft.Diagnostics.DataContractReader.Contracts (47)
Contracts\RuntimeTypeSystem_1.cs (47)
43_methodTables.Clear(); 495if (_methodTables.ContainsKey(typeHandlePointer)) 514_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 523_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 535_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTableF); 542return _methodTables[typeHandle.Address].Module; 566public bool IsCanonicalMethodTable(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].IsCanonMT; 567public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.Address].ParentMethodTable; 569public uint GetBaseSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize; 571public uint GetNumInstanceFieldBytes(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding; 573public uint GetComponentSize(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.ComponentSize; 579MethodTable methodTable = _methodTables[typeHandle.Address]; 587MethodTable canonMT = _methodTables[canonMTHandle.Address]; 637public bool IsString(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsString; 666public bool ContainsGCPointers(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.ContainsGCPointers; 667public bool IsByRefLike(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsByRefLike; 682if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsHFA) 690elementSize = _methodTables[typeHandle.Address].Flags.RequiresAlign8 ? 8 : 4; 743if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsIntrinsicType) 816public bool RequiresAlign8(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.RequiresAlign8; 854&& _methodTables[typeHandle.Address].ParentMethodTable == ContinuationMethodTablePointer 932public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 933public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.Address].NumInterfaces; 939MethodTable methodTable = _methodTables[typeHandle.Address]; 946MethodTable methodTable = _methodTables[typeHandle.Address]; 984public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 990MethodTable methodTable = _methodTables[typeHandle.Address]; 1000MethodTable methodTable = _methodTables[typeHandle.Address]; 1048MethodTable methodTable = _methodTables[typeHandle.Address]; 1059MethodTable methodTable = _methodTables[typeHandle.Address]; 1068MethodTable methodTable = _methodTables[typeHandle.Address]; 1081MethodTable methodTable = rts._methodTables[typePointer]; 1101public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 1127return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 1130public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 1135MethodTable methodTable = _methodTables[typeHandle.Address]; 1157MethodTable methodTable = _methodTables[typeHandle.Address]; 1201MethodTable methodTable = _methodTables[typeHandle.Address]; 1221MethodTable methodTable = _methodTables[typeHandle.Address]; 1239MethodTable methodTable = _methodTables[typeHandle.Address]; 1264MethodTable methodTable = _methodTables[typeHandle.Address]; 1352MethodTable methodTable = _methodTables[typeHandle.Address]; 1569MethodTable mt = _methodTables[typeHandle.Address]; 1912return _methodTables[methodDesc.MethodTable]; 1949MethodTable mt = _methodTables[typeHandle.Address]; 2266Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT); 2376Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT);