1 type derived from ConstantValueOne
Microsoft.CodeAnalysis (1)
ConstantValueSpecialized.cs (1)
646
private sealed class ConstantValueDecimalOne :
ConstantValueOne
13 instantiations of ConstantValueOne
Microsoft.CodeAnalysis (13)
ConstantValueSpecialized.cs (13)
518
public static readonly ConstantValueOne SByte = new
ConstantValueOne
(ConstantValueTypeDiscriminator.SByte);
519
public static readonly ConstantValueOne Byte = new
ConstantValueOne
(ConstantValueTypeDiscriminator.Byte);
520
public static readonly ConstantValueOne Int16 = new
ConstantValueOne
(ConstantValueTypeDiscriminator.Int16);
521
public static readonly ConstantValueOne UInt16 = new
ConstantValueOne
(ConstantValueTypeDiscriminator.UInt16);
522
public static readonly ConstantValueOne Int32 = new
ConstantValueOne
(ConstantValueTypeDiscriminator.Int32);
523
public static readonly ConstantValueOne UInt32 = new
ConstantValueOne
(ConstantValueTypeDiscriminator.UInt32);
524
public static readonly ConstantValueOne Int64 = new
ConstantValueOne
(ConstantValueTypeDiscriminator.Int64);
525
public static readonly ConstantValueOne UInt64 = new
ConstantValueOne
(ConstantValueTypeDiscriminator.UInt64);
526
public static readonly ConstantValueOne NInt = new
ConstantValueOne
(ConstantValueTypeDiscriminator.NInt);
527
public static readonly ConstantValueOne NUInt = new
ConstantValueOne
(ConstantValueTypeDiscriminator.NUInt);
528
public static readonly ConstantValueOne Single = new
ConstantValueOne
(ConstantValueTypeDiscriminator.Single);
529
public static readonly ConstantValueOne Double = new
ConstantValueOne
(ConstantValueTypeDiscriminator.Double);
531
public static readonly ConstantValueOne Boolean = new
ConstantValueOne
(ConstantValueTypeDiscriminator.Boolean);
30 references to ConstantValueOne
Microsoft.CodeAnalysis (30)
ConstantValue.cs (16)
96
public static ConstantValue True { get { return
ConstantValueOne
.Boolean; } }
133
return
ConstantValueOne
.SByte;
147
return
ConstantValueOne
.Byte;
161
return
ConstantValueOne
.Int16;
175
return
ConstantValueOne
.UInt16;
189
return
ConstantValueOne
.Int32;
203
return
ConstantValueOne
.UInt32;
217
return
ConstantValueOne
.Int64;
231
return
ConstantValueOne
.UInt64;
245
return
ConstantValueOne
.NInt;
259
return
ConstantValueOne
.NUInt;
269
return
ConstantValueOne
.Boolean;
285
return
ConstantValueOne
.Single;
299
return
ConstantValueOne
.Single;
313
return
ConstantValueOne
.Double;
332
return
ConstantValueOne
.Decimal;
ConstantValueSpecialized.cs (14)
518
public static readonly
ConstantValueOne
SByte = new ConstantValueOne(ConstantValueTypeDiscriminator.SByte);
519
public static readonly
ConstantValueOne
Byte = new ConstantValueOne(ConstantValueTypeDiscriminator.Byte);
520
public static readonly
ConstantValueOne
Int16 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int16);
521
public static readonly
ConstantValueOne
UInt16 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt16);
522
public static readonly
ConstantValueOne
Int32 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int32);
523
public static readonly
ConstantValueOne
UInt32 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt32);
524
public static readonly
ConstantValueOne
Int64 = new ConstantValueOne(ConstantValueTypeDiscriminator.Int64);
525
public static readonly
ConstantValueOne
UInt64 = new ConstantValueOne(ConstantValueTypeDiscriminator.UInt64);
526
public static readonly
ConstantValueOne
NInt = new ConstantValueOne(ConstantValueTypeDiscriminator.NInt);
527
public static readonly
ConstantValueOne
NUInt = new ConstantValueOne(ConstantValueTypeDiscriminator.NUInt);
528
public static readonly
ConstantValueOne
Single = new ConstantValueOne(ConstantValueTypeDiscriminator.Single);
529
public static readonly
ConstantValueOne
Double = new ConstantValueOne(ConstantValueTypeDiscriminator.Double);
530
public static readonly
ConstantValueOne
Decimal = new ConstantValueDecimalOne();
531
public static readonly
ConstantValueOne
Boolean = new ConstantValueOne(ConstantValueTypeDiscriminator.Boolean);