1 write to Flags
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\RuntimeTypeSystem_1.cs (1)
53Flags = new MethodTableFlags_1
23 references to Flags
Microsoft.Diagnostics.DataContractReader.Contracts (23)
Contracts\RuntimeTypeSystem_1.cs (23)
532public uint GetBaseSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.BaseSize; 534public uint GetComponentSize(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? (uint)0 : _methodTables[typeHandle.Address].Flags.ComponentSize; 563public bool IsString(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsString; 570public bool ContainsGCPointers(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.ContainsGCPointers; 571public bool RequiresAlign8(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.RequiresAlign8; 650public bool IsDynamicStatics(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsDynamicStatics; 658return (uint)(methodTable.Flags.GetTypeDefRid() | ((int)TableIndex.TypeDef << 24)); 674public bool IsTrackedReferenceWithFinalizer(TypeHandle typeHandle) => typeHandle.IsMethodTable() && _methodTables[typeHandle.Address].Flags.IsTrackedReferenceWithFinalizer; 681if (!methodTable.Flags.IsDynamicStatics) 739if (!methodTable.Flags.HasInstantiation) 772Debug.Assert(methodTable.Flags.HasInstantiation); 791public bool IsGenericTypeDefinition(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsGenericTypeDefinition; 817return _methodTables[typeHandle.Address].Flags.ContainsGenericVariables; 820public bool IsCollectible(TypeHandle typeHandle) => !typeHandle.IsMethodTable() ? false : _methodTables[typeHandle.Address].Flags.IsCollectible; 826return methodTable.Flags.IsArray; 849switch (methodTable.Flags.GetFlag(MethodTableFlags_1.WFLAGS_HIGH.Category_Mask)) 892return methodTable.Flags.IsValueType; 926switch (methodTable.Flags.GetFlag(MethodTableFlags_1.WFLAGS_HIGH.Category_Mask)) 931uint boundsSize = methodTable.Flags.BaseSize - arrayBaseSize; 950if (!methodTable.Flags.IsArray) 1360if (mt.Flags.IsValueType) 1363if (mt.Flags.IsInterface && !IsAbstract(methodDesc)) 1398return mt.IsCanonMT && mt.Flags.HasInstantiation;