41 references to ClrDataValueFlag
Microsoft.Diagnostics.DataContractReader.Legacy (41)
ClrDataFrame.cs (40)
471valueFlags = (uint)ClrDataValueFlag.IS_REFERENCE;
486if ((valueFlags & (uint)ClrDataValueFlag.IS_PRIMITIVE) != 0
591return ((uint)ClrDataValueFlag.DEFAULT, -1);
600return ((uint)ClrDataValueFlag.DEFAULT, -1);
613CorElementType.Boolean => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1),
614CorElementType.I1 or CorElementType.U1 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1),
615CorElementType.Char or CorElementType.I2 or CorElementType.U2 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 2),
616CorElementType.I4 or CorElementType.U4 or CorElementType.R4 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 4),
617CorElementType.I8 or CorElementType.U8 or CorElementType.R8 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 8),
618CorElementType.I or CorElementType.U => ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1),
620or CorElementType.SzArray or CorElementType.Array => ((uint)ClrDataValueFlag.IS_REFERENCE, -1),
621CorElementType.Ptr => ((uint)ClrDataValueFlag.IS_POINTER, -1),
622CorElementType.ValueType => ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1),
623_ => ((uint)ClrDataValueFlag.DEFAULT, -1),
678PrimitiveTypeCode.Boolean => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1),
679PrimitiveTypeCode.SByte or PrimitiveTypeCode.Byte => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 1),
680PrimitiveTypeCode.Char or PrimitiveTypeCode.Int16 or PrimitiveTypeCode.UInt16 => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 2),
681PrimitiveTypeCode.Int32 or PrimitiveTypeCode.UInt32 or PrimitiveTypeCode.Single => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 4),
682PrimitiveTypeCode.Int64 or PrimitiveTypeCode.UInt64 or PrimitiveTypeCode.Double => ((uint)ClrDataValueFlag.IS_PRIMITIVE, 8),
683PrimitiveTypeCode.IntPtr or PrimitiveTypeCode.UIntPtr => ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1),
685PrimitiveTypeCode.String or PrimitiveTypeCode.Object => ((uint)ClrDataValueFlag.IS_REFERENCE, -1),
687_ => ((uint)ClrDataValueFlag.DEFAULT, -1),
693RawTypeKind_Class => ((uint)ClrDataValueFlag.IS_REFERENCE, -1),
695_ => ((uint)ClrDataValueFlag.DEFAULT, -1),
701RawTypeKind_Class => ((uint)ClrDataValueFlag.IS_REFERENCE, -1),
703_ => ((uint)ClrDataValueFlag.DEFAULT, -1),
709=> ((uint)ClrDataValueFlag.IS_POINTER, -1);
713=> ((uint)ClrDataValueFlag.DEFAULT, -1);
716=> ((uint)ClrDataValueFlag.IS_REFERENCE, -1);
719=> ((uint)ClrDataValueFlag.IS_REFERENCE, -1);
729=> ((uint)ClrDataValueFlag.IS_PRIMITIVE, -1);
738=> ((uint)ClrDataValueFlag.DEFAULT, -1);
750catch (System.Exception) { return ((uint)ClrDataValueFlag.DEFAULT, -1); }
763catch (System.Exception) { return ((uint)ClrDataValueFlag.DEFAULT, -1); }
771if (flags == (uint)ClrDataValueFlag.IS_VALUE_TYPE && rts.IsEnum(resolvedType))
772flags = (uint)ClrDataValueFlag.IS_ENUM;
783return ((uint)ClrDataValueFlag.IS_ENUM, -1);
785return ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1);
800return ((uint)ClrDataValueFlag.IS_ENUM, -1);
805return ((uint)ClrDataValueFlag.IS_VALUE_TYPE, -1);