6 writes to PrimitiveValue
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs (6)
656arg.PrimitiveValue = new PrimitiveValue() { Byte4 = parser.GetU1() }; 661arg.PrimitiveValue = new PrimitiveValue() { Byte4 = parser.GetU2() }; 665arg.PrimitiveValue = new PrimitiveValue() { Byte4 = parser.GetI4() }; 669arg.PrimitiveValue = new PrimitiveValue() { Byte8 = parser.GetI8() }; 672arg.PrimitiveValue = new PrimitiveValue() { Byte4 = BitConverter.SingleToInt32Bits(parser.GetR4()) }; 675arg.PrimitiveValue = new PrimitiveValue() { Byte8 = BitConverter.DoubleToInt64Bits(parser.GetR8()) };
2 references to PrimitiveValue
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs (2)
540_value = EncodedValueToRawValue(encodedArg.PrimitiveValue, encodedArg.CustomAttributeType.EncodedEnumType); 592_value = EncodedValueToRawValue(encodedArg.PrimitiveValue, encodedType);