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; 819&& _methodTables[typeHandle.Address].ParentMethodTable == ContinuationMethodTablePointer 897public bool IsDynamicStatics(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 898public ushort GetNumInterfaces(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.Address].NumInterfaces; 904MethodTable methodTable = _methodTables[typeHandle.Address]; 911MethodTable methodTable = _methodTables[typeHandle.Address]; 949public bool IsTrackedReferenceWithFinalizer(ITypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 955MethodTable methodTable = _methodTables[typeHandle.Address]; 965MethodTable methodTable = _methodTables[typeHandle.Address]; 1013MethodTable methodTable = _methodTables[typeHandle.Address]; 1024MethodTable methodTable = _methodTables[typeHandle.Address]; 1033MethodTable methodTable = _methodTables[typeHandle.Address]; 1046MethodTable methodTable = rts._methodTables[typePointer]; 1066public bool IsGenericTypeDefinition(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 1092return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 1095public bool IsCollectible(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 1100MethodTable methodTable = _methodTables[typeHandle.Address]; 1122MethodTable methodTable = _methodTables[typeHandle.Address]; 1166MethodTable methodTable = _methodTables[typeHandle.Address]; 1186MethodTable methodTable = _methodTables[typeHandle.Address]; 1204MethodTable methodTable = _methodTables[typeHandle.Address]; 1229MethodTable methodTable = _methodTables[typeHandle.Address]; 1317MethodTable methodTable = _methodTables[typeHandle.Address]; 1534MethodTable mt = _methodTables[typeHandle.Address]; 1877return _methodTables[methodDesc.MethodTable]; 1914MethodTable mt = _methodTables[typeHandle.Address]; 2231Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT); 2341Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT);