1 type derived from ConstantValueOne
Microsoft.CodeAnalysis (1)
ConstantValueSpecialized.cs (1)
646private sealed class ConstantValueDecimalOne : ConstantValueOne
13 instantiations of ConstantValueOne
Microsoft.CodeAnalysis (13)
ConstantValueSpecialized.cs (13)
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);
30 references to ConstantValueOne
Microsoft.CodeAnalysis (30)
ConstantValue.cs (16)
96public static ConstantValue True { get { return ConstantValueOne.Boolean; } } 133return ConstantValueOne.SByte; 147return ConstantValueOne.Byte; 161return ConstantValueOne.Int16; 175return ConstantValueOne.UInt16; 189return ConstantValueOne.Int32; 203return ConstantValueOne.UInt32; 217return ConstantValueOne.Int64; 231return ConstantValueOne.UInt64; 245return ConstantValueOne.NInt; 259return ConstantValueOne.NUInt; 269return ConstantValueOne.Boolean; 285return ConstantValueOne.Single; 299return ConstantValueOne.Single; 313return ConstantValueOne.Double; 332return ConstantValueOne.Decimal;
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); 530public static readonly ConstantValueOne Decimal = new ConstantValueDecimalOne(); 531public static readonly ConstantValueOne Boolean = new ConstantValueOne(ConstantValueTypeDiscriminator.Boolean);