8 references to Create
Microsoft.CodeAnalysis (5)
Compilation\Expression.cs (1)
28return ConstantValue.Create((byte)value);
ConstantValue.cs (1)
374case ConstantValueTypeDiscriminator.Byte: return Create((byte)value);
EnumConstantHelper.cs (1)
46offsetValue = ConstantValue.Create((byte)(previous + offset));
MetadataReader\MetadataDecoder.cs (1)
1075return ConstantValue.Create(sigReader.ReadByte());
MetadataReader\PEModule.cs (1)
3758return ConstantValue.Create(reader.ReadByte());
Microsoft.CodeAnalysis.CSharp (3)
Lowering\LocalRewriter\LocalRewriter_Literal.cs (1)
128arguments.Add(new BoundLiteral(syntax, ConstantValue.Create(scale), _compilation.GetSpecialType(SpecialType.System_Byte)));
Lowering\SyntheticBoundNodeFactory.cs (1)
744return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Byte)) { WasCompilerGenerated = true };
Utilities\ValueSetFactory.ByteTC.cs (1)
57ConstantValue INumericTC<byte>.ToConstantValue(byte value) => ConstantValue.Create(value);