41 references to ClrDataValueFlag
Microsoft.Diagnostics.DataContractReader.Legacy (41)
ClrDataFrame.cs (40)
474valueFlags = (uint)ClrDataValueFlag.IS_REFERENCE;
489if ((valueFlags & (uint)ClrDataValueFlag.IS_PRIMITIVE) != 0
592return ((uint)ClrDataValueFlag.DEFAULT, -1);
601return ((uint)ClrDataValueFlag.DEFAULT, -1);
614CorElementType.Boolean => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1),
615CorElementType.I1 or CorElementType.U1 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1),
616CorElementType.Char or CorElementType.I2 or CorElementType.U2 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 2),
617CorElementType.I4 or CorElementType.U4 or CorElementType.R4 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 4),
618CorElementType.I8 or CorElementType.U8 or CorElementType.R8 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 8),
619CorElementType.I or CorElementType.U => ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1),
621or CorElementType.SzArray or CorElementType.Array => ((uint)ClrDataValueFlag.IS_REFERENCE, -1),
622CorElementType.Ptr => ((uint)ClrDataValueFlag.IS_POINTER, -1),
623CorElementType.ValueType => ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1),
624_ => ((uint)ClrDataValueFlag.DEFAULT, -1),
679PrimitiveTypeCode.Boolean => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1),
680PrimitiveTypeCode.SByte or PrimitiveTypeCode.Byte => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1),
681PrimitiveTypeCode.Char or PrimitiveTypeCode.Int16 or PrimitiveTypeCode.UInt16 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 2),
682PrimitiveTypeCode.Int32 or PrimitiveTypeCode.UInt32 or PrimitiveTypeCode.Single => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 4),
683PrimitiveTypeCode.Int64 or PrimitiveTypeCode.UInt64 or PrimitiveTypeCode.Double => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 8),
684PrimitiveTypeCode.IntPtr or PrimitiveTypeCode.UIntPtr => ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1),
686PrimitiveTypeCode.String or PrimitiveTypeCode.Object => ((uint)ClrDataValueFlag.IS_REFERENCE, -1),
688_ => ((uint)ClrDataValueFlag.DEFAULT, -1),
694RawTypeKind_Class => ((uint)ClrDataValueFlag.IS_REFERENCE, -1),
696_ => ((uint)ClrDataValueFlag.DEFAULT, -1),
702RawTypeKind_Class => ((uint)ClrDataValueFlag.IS_REFERENCE, -1),
704_ => ((uint)ClrDataValueFlag.DEFAULT, -1),
710=> ((uint)ClrDataValueFlag.IS_POINTER, -1);
714=> ((uint)ClrDataValueFlag.DEFAULT, -1);
717=> ((uint)ClrDataValueFlag.IS_REFERENCE, -1);
720=> ((uint)ClrDataValueFlag.IS_REFERENCE, -1);
730=> ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1);
739=> ((uint)ClrDataValueFlag.DEFAULT, -1);
751catch (System.Exception) { return ((uint)ClrDataValueFlag.DEFAULT, -1); }
764catch (System.Exception) { return ((uint)ClrDataValueFlag.DEFAULT, -1); }
772if (flags == (uint)ClrDataValueFlag.IS_VALUE_TYPE && rts.IsEnum(resolvedType))
773flags = (uint)ClrDataValueFlag.IS_ENUM;
784return ((uint)ClrDataValueFlag.IS_ENUM, -1);
786return ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1);
801return ((uint)ClrDataValueFlag.IS_ENUM, -1);
806return ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1);