5 references to Create
Microsoft.CodeAnalysis (5)
Compilation\Expression.cs (1)
22
return ConstantValue.
Create
((ushort)value);
ConstantValue.cs (1)
376
case ConstantValueTypeDiscriminator.UInt16: return
Create
((ushort)value);
EnumConstantHelper.cs (1)
66
offsetValue = ConstantValue.
Create
((ushort)(previous + offset));
MetadataReader\MetadataDecoder.cs (1)
1083
return ConstantValue.
Create
(sigReader.ReadUInt16());
MetadataReader\PEModule.cs (1)
3724
return ConstantValue.
Create
(reader.ReadUInt16());