16 references to Boxes
Microsoft.CodeAnalysis (16)
ConstantValue.cs (15)
521case ConstantValueTypeDiscriminator.SByte: return Boxes.Box(SByteValue); 522case ConstantValueTypeDiscriminator.Byte: return Boxes.Box(ByteValue); 523case ConstantValueTypeDiscriminator.Int16: return Boxes.Box(Int16Value); 524case ConstantValueTypeDiscriminator.UInt16: return Boxes.Box(UInt16Value); 525case ConstantValueTypeDiscriminator.Int32: return Boxes.Box(Int32Value); 526case ConstantValueTypeDiscriminator.UInt32: return Boxes.Box(UInt32Value); 527case ConstantValueTypeDiscriminator.Int64: return Boxes.Box(Int64Value); 528case ConstantValueTypeDiscriminator.UInt64: return Boxes.Box(UInt64Value); 529case ConstantValueTypeDiscriminator.NInt: return Boxes.Box(Int32Value); 530case ConstantValueTypeDiscriminator.NUInt: return Boxes.Box(UInt32Value); 531case ConstantValueTypeDiscriminator.Char: return Boxes.Box(CharValue); 532case ConstantValueTypeDiscriminator.Boolean: return Boxes.Box(BooleanValue); 533case ConstantValueTypeDiscriminator.Single: return Boxes.Box(SingleValue); 534case ConstantValueTypeDiscriminator.Double: return Boxes.Box(DoubleValue); 535case ConstantValueTypeDiscriminator.Decimal: return Boxes.Box(DecimalValue);
MetadataReader\MetadataDecoder.cs (1)
2165return CreateTypedConstant(type, kind, Boxes.Box(value));