3 types derived from ConstantValueDefault
Microsoft.CodeAnalysis (3)
ConstantValueSpecialized.cs (3)
447
private sealed class ConstantValueDecimalZero :
ConstantValueDefault
470
private sealed class ConstantValueDoubleZero :
ConstantValueDefault
493
private sealed class ConstantValueSingleZero :
ConstantValueDefault
13 instantiations of ConstantValueDefault
Microsoft.CodeAnalysis (13)
ConstantValueSpecialized.cs (13)
339
public static readonly ConstantValueDefault SByte = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.SByte);
340
public static readonly ConstantValueDefault Byte = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.Byte);
341
public static readonly ConstantValueDefault Int16 = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.Int16);
342
public static readonly ConstantValueDefault UInt16 = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.UInt16);
343
public static readonly ConstantValueDefault Int32 = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.Int32);
344
public static readonly ConstantValueDefault UInt32 = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.UInt32);
345
public static readonly ConstantValueDefault Int64 = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.Int64);
346
public static readonly ConstantValueDefault UInt64 = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.UInt64);
347
public static readonly ConstantValueDefault NInt = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.NInt);
348
public static readonly ConstantValueDefault NUInt = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.NUInt);
349
public static readonly ConstantValueDefault Char = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.Char);
353
public static readonly ConstantValueDefault DateTime = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.DateTime);
354
public static readonly ConstantValueDefault Boolean = new
ConstantValueDefault
(ConstantValueTypeDiscriminator.Boolean);
50 references to ConstantValueDefault
Microsoft.CodeAnalysis (50)
ConstantValue.cs (34)
99
public static ConstantValue False { get { return
ConstantValueDefault
.Boolean; } }
121
return
ConstantValueDefault
.Char;
135
return
ConstantValueDefault
.SByte;
149
return
ConstantValueDefault
.Byte;
163
return
ConstantValueDefault
.Int16;
177
return
ConstantValueDefault
.UInt16;
191
return
ConstantValueDefault
.Int32;
205
return
ConstantValueDefault
.UInt32;
219
return
ConstantValueDefault
.Int64;
233
return
ConstantValueDefault
.UInt64;
247
return
ConstantValueDefault
.NInt;
261
return
ConstantValueDefault
.NUInt;
279
return
ConstantValueDefault
.Boolean;
287
return
ConstantValueDefault
.Single;
301
return
ConstantValueDefault
.Single;
315
return
ConstantValueDefault
.Double;
334
return
ConstantValueDefault
.Decimal;
349
return
ConstantValueDefault
.DateTime;
412
case ConstantValueTypeDiscriminator.SByte: return
ConstantValueDefault
.SByte;
413
case ConstantValueTypeDiscriminator.Byte: return
ConstantValueDefault
.Byte;
414
case ConstantValueTypeDiscriminator.Int16: return
ConstantValueDefault
.Int16;
415
case ConstantValueTypeDiscriminator.UInt16: return
ConstantValueDefault
.UInt16;
416
case ConstantValueTypeDiscriminator.Int32: return
ConstantValueDefault
.Int32;
417
case ConstantValueTypeDiscriminator.UInt32: return
ConstantValueDefault
.UInt32;
418
case ConstantValueTypeDiscriminator.Int64: return
ConstantValueDefault
.Int64;
419
case ConstantValueTypeDiscriminator.UInt64: return
ConstantValueDefault
.UInt64;
420
case ConstantValueTypeDiscriminator.NInt: return
ConstantValueDefault
.NInt;
421
case ConstantValueTypeDiscriminator.NUInt: return
ConstantValueDefault
.NUInt;
422
case ConstantValueTypeDiscriminator.Char: return
ConstantValueDefault
.Char;
423
case ConstantValueTypeDiscriminator.Boolean: return
ConstantValueDefault
.Boolean;
424
case ConstantValueTypeDiscriminator.Single: return
ConstantValueDefault
.Single;
425
case ConstantValueTypeDiscriminator.Double: return
ConstantValueDefault
.Double;
426
case ConstantValueTypeDiscriminator.Decimal: return
ConstantValueDefault
.Decimal;
427
case ConstantValueTypeDiscriminator.DateTime: return
ConstantValueDefault
.DateTime;
ConstantValueSpecialized.cs (16)
339
public static readonly
ConstantValueDefault
SByte = new ConstantValueDefault(ConstantValueTypeDiscriminator.SByte);
340
public static readonly
ConstantValueDefault
Byte = new ConstantValueDefault(ConstantValueTypeDiscriminator.Byte);
341
public static readonly
ConstantValueDefault
Int16 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int16);
342
public static readonly
ConstantValueDefault
UInt16 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt16);
343
public static readonly
ConstantValueDefault
Int32 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int32);
344
public static readonly
ConstantValueDefault
UInt32 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt32);
345
public static readonly
ConstantValueDefault
Int64 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int64);
346
public static readonly
ConstantValueDefault
UInt64 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt64);
347
public static readonly
ConstantValueDefault
NInt = new ConstantValueDefault(ConstantValueTypeDiscriminator.NInt);
348
public static readonly
ConstantValueDefault
NUInt = new ConstantValueDefault(ConstantValueTypeDiscriminator.NUInt);
349
public static readonly
ConstantValueDefault
Char = new ConstantValueDefault(ConstantValueTypeDiscriminator.Char);
350
public static readonly
ConstantValueDefault
Single = new ConstantValueSingleZero();
351
public static readonly
ConstantValueDefault
Double = new ConstantValueDoubleZero();
352
public static readonly
ConstantValueDefault
Decimal = new ConstantValueDecimalZero();
353
public static readonly
ConstantValueDefault
DateTime = new ConstantValueDefault(ConstantValueTypeDiscriminator.DateTime);
354
public static readonly
ConstantValueDefault
Boolean = new ConstantValueDefault(ConstantValueTypeDiscriminator.Boolean);