1 type derived from ConstantValueOne
Microsoft.CodeAnalysis (1)
ConstantValueSpecialized.cs (1)
663private sealed class ConstantValueDecimalOne : ConstantValueOne
14 instantiations of ConstantValueOne
Microsoft.CodeAnalysis (14)
ConstantValueSpecialized.cs (14)
518public static readonly ConstantValueOne SByte = new ConstantValueOne(ConstantValueTypeDiscriminator.SByte); 519public static readonly ConstantValueOne Byte = new ConstantValueOne(ConstantValueTypeDiscriminator.Byte); 520public static readonly ConstantValueOne Int16 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int16); 521public static readonly ConstantValueOne UInt16 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt16); 522public static readonly ConstantValueOne Int32 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int32); 523public static readonly ConstantValueOne UInt32 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt32); 524public static readonly ConstantValueOne Int64 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int64); 525public static readonly ConstantValueOne UInt64 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt64); 526public static readonly ConstantValueOne NInt = new ConstantValueOne(ConstantValueTypeDiscriminator.NInt); 527public static readonly ConstantValueOne NUInt = new ConstantValueOne(ConstantValueTypeDiscriminator.NUInt); 528public static readonly ConstantValueOne Single = new ConstantValueOne(ConstantValueTypeDiscriminator.Single); 529public static readonly ConstantValueOne Double = new ConstantValueOne(ConstantValueTypeDiscriminator.Double); 531public static readonly ConstantValueOne Boolean = new ConstantValueOne(ConstantValueTypeDiscriminator.Boolean); 532public static readonly ConstantValueOne Char = new ConstantValueOne(ConstantValueTypeDiscriminator.Char);
32 references to ConstantValueOne
Microsoft.CodeAnalysis (32)
ConstantValue.cs (17)
98public static ConstantValue True { get { return ConstantValueOne.Boolean; } } 125return ConstantValueOne.Char; 139return ConstantValueOne.SByte; 153return ConstantValueOne.Byte; 167return ConstantValueOne.Int16; 181return ConstantValueOne.UInt16; 195return ConstantValueOne.Int32; 209return ConstantValueOne.UInt32; 223return ConstantValueOne.Int64; 237return ConstantValueOne.UInt64; 251return ConstantValueOne.NInt; 265return ConstantValueOne.NUInt; 275return ConstantValueOne.Boolean; 291return ConstantValueOne.Single; 305return ConstantValueOne.Single; 319return ConstantValueOne.Double; 338return ConstantValueOne.Decimal;
ConstantValueSpecialized.cs (15)
518public static readonly ConstantValueOne SByte = new ConstantValueOne(ConstantValueTypeDiscriminator.SByte); 519public static readonly ConstantValueOne Byte = new ConstantValueOne(ConstantValueTypeDiscriminator.Byte); 520public static readonly ConstantValueOne Int16 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int16); 521public static readonly ConstantValueOne UInt16 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt16); 522public static readonly ConstantValueOne Int32 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int32); 523public static readonly ConstantValueOne UInt32 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt32); 524public static readonly ConstantValueOne Int64 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int64); 525public static readonly ConstantValueOne UInt64 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt64); 526public static readonly ConstantValueOne NInt = new ConstantValueOne(ConstantValueTypeDiscriminator.NInt); 527public static readonly ConstantValueOne NUInt = new ConstantValueOne(ConstantValueTypeDiscriminator.NUInt); 528public static readonly ConstantValueOne Single = new ConstantValueOne(ConstantValueTypeDiscriminator.Single); 529public static readonly ConstantValueOne Double = new ConstantValueOne(ConstantValueTypeDiscriminator.Double); 530public static readonly ConstantValueOne Decimal = new ConstantValueDecimalOne(); 531public static readonly ConstantValueOne Boolean = new ConstantValueOne(ConstantValueTypeDiscriminator.Boolean); 532public static readonly ConstantValueOne Char = new ConstantValueOne(ConstantValueTypeDiscriminator.Char);