41 references to ClrDataValueFlag
Microsoft.Diagnostics.DataContractReader.Legacy (41)
ClrDataFrame.cs (40)
477valueFlags = (uint)ClrDataValueFlag.IS_REFERENCE; 492if ((valueFlags & (uint)ClrDataValueFlag.IS_PRIMITIVE) != 0 595return ((uint)ClrDataValueFlag.DEFAULT, -1); 604return ((uint)ClrDataValueFlag.DEFAULT, -1); 617CorElementType.Boolean => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1), 618CorElementType.I1 or CorElementType.U1 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1), 619CorElementType.Char or CorElementType.I2 or CorElementType.U2 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 2), 620CorElementType.I4 or CorElementType.U4 or CorElementType.R4 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 4), 621CorElementType.I8 or CorElementType.U8 or CorElementType.R8 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 8), 622CorElementType.I or CorElementType.U => ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1), 624or CorElementType.SzArray or CorElementType.Array => ((uint)ClrDataValueFlag.IS_REFERENCE, -1), 625CorElementType.Ptr => ((uint)ClrDataValueFlag.IS_POINTER, -1), 626CorElementType.ValueType => ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1), 627_ => ((uint)ClrDataValueFlag.DEFAULT, -1), 682PrimitiveTypeCode.Boolean => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1), 683PrimitiveTypeCode.SByte or PrimitiveTypeCode.Byte => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1), 684PrimitiveTypeCode.Char or PrimitiveTypeCode.Int16 or PrimitiveTypeCode.UInt16 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 2), 685PrimitiveTypeCode.Int32 or PrimitiveTypeCode.UInt32 or PrimitiveTypeCode.Single => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 4), 686PrimitiveTypeCode.Int64 or PrimitiveTypeCode.UInt64 or PrimitiveTypeCode.Double => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 8), 687PrimitiveTypeCode.IntPtr or PrimitiveTypeCode.UIntPtr => ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1), 689PrimitiveTypeCode.String or PrimitiveTypeCode.Object => ((uint)ClrDataValueFlag.IS_REFERENCE, -1), 691_ => ((uint)ClrDataValueFlag.DEFAULT, -1), 697RawTypeKind_Class => ((uint)ClrDataValueFlag.IS_REFERENCE, -1), 699_ => ((uint)ClrDataValueFlag.DEFAULT, -1), 705RawTypeKind_Class => ((uint)ClrDataValueFlag.IS_REFERENCE, -1), 707_ => ((uint)ClrDataValueFlag.DEFAULT, -1), 713=> ((uint)ClrDataValueFlag.IS_POINTER, -1); 717=> ((uint)ClrDataValueFlag.DEFAULT, -1); 720=> ((uint)ClrDataValueFlag.IS_REFERENCE, -1); 723=> ((uint)ClrDataValueFlag.IS_REFERENCE, -1); 733=> ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1); 742=> ((uint)ClrDataValueFlag.DEFAULT, -1); 754catch (System.Exception) { return ((uint)ClrDataValueFlag.DEFAULT, -1); } 767catch (System.Exception) { return ((uint)ClrDataValueFlag.DEFAULT, -1); } 775if (flags == (uint)ClrDataValueFlag.IS_VALUE_TYPE && rts.IsEnum(resolvedType)) 776flags = (uint)ClrDataValueFlag.IS_ENUM; 787return ((uint)ClrDataValueFlag.IS_ENUM, -1); 789return ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1); 804return ((uint)ClrDataValueFlag.IS_ENUM, -1); 809return ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1);
ClrDataValue.cs (1)
43if (_locations.Length > 0 && (_flags & (uint)ClrDataValueFlag.IS_REFERENCE) != 0)