47 references to _methodTables
Microsoft.Diagnostics.DataContractReader.Contracts (47)
Contracts\RuntimeTypeSystem_1.cs (47)
38_methodTables.Clear(); 477if (_methodTables.ContainsKey(typeHandlePointer)) 496_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 505_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTable); 517_ = _methodTables.TryAdd(methodTablePointer, trustedMethodTableF); 524return _methodTables[typeHandle.Address].Module; 548public bool IsCanonicalMethodTable(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].IsCanonMT; 549public TargetPointer GetParentMethodTable(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.Address].ParentMethodTable; 551public uint GetBaseSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize; 553public uint GetNumInstanceFieldBytes(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize - GetClassData(typeHandle).BaseSizePadding; 555public uint GetComponentSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.ComponentSize; 561MethodTable methodTable = _methodTables[typeHandle.Address]; 569MethodTable canonMT = _methodTables[canonMTHandle.Address]; 619public bool IsString(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsString; 648public bool ContainsGCPointers(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.ContainsGCPointers; 649public bool IsByRefLike(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsByRefLike; 664if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsHFA) 672elementSize = _methodTables[typeHandle.Address].Flags.RequiresAlign8 ? 8 : 4; 724if (!typeHandle.IsMethodTable() || !_methodTables[typeHandle.Address].Flags.IsIntrinsicType) 797public bool RequiresAlign8(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.RequiresAlign8; 800&& _methodTables[typeHandle.Address].ParentMethodTable == ContinuationMethodTablePointer 878public bool IsDynamicStatics(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 879public ushort GetNumInterfaces(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (ushort)0 : _methodTables[typeHandle.Address].NumInterfaces; 885MethodTable methodTable = _methodTables[typeHandle.Address]; 892MethodTable methodTable = _methodTables[typeHandle.Address]; 930public bool IsTrackedReferenceWithFinalizer(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 936MethodTable methodTable = _methodTables[typeHandle.Address]; 946MethodTable methodTable = _methodTables[typeHandle.Address]; 994MethodTable methodTable = _methodTables[typeHandle.Address]; 1005MethodTable methodTable = _methodTables[typeHandle.Address]; 1014MethodTable methodTable = _methodTables[typeHandle.Address]; 1027MethodTable methodTable = rts._methodTables[typePointer]; 1047public bool IsGenericTypeDefinition(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 1073return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 1076public bool IsCollectible(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 1081MethodTable methodTable = _methodTables[typeHandle.Address]; 1103MethodTable methodTable = _methodTables[typeHandle.Address]; 1147MethodTable methodTable = _methodTables[typeHandle.Address]; 1167MethodTable methodTable = _methodTables[typeHandle.Address]; 1185MethodTable methodTable = _methodTables[typeHandle.Address]; 1210MethodTable methodTable = _methodTables[typeHandle.Address]; 1298MethodTable methodTable = _methodTables[typeHandle.Address]; 1507MethodTable mt = _methodTables[typeHandle.Address]; 1850return _methodTables[methodDesc.MethodTable]; 1888MethodTable mt = _methodTables[typeHandle.Address]; 2185Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT); 2279Debug.Assert(_methodTables[typeHandle.Address].IsCanonMT);