3 types derived from ConstantValueDefault
Microsoft.CodeAnalysis (3)
ConstantValueSpecialized.cs (3)
447private sealed class ConstantValueDecimalZero : ConstantValueDefault 470private sealed class ConstantValueDoubleZero : ConstantValueDefault 493private sealed class ConstantValueSingleZero : ConstantValueDefault
13 instantiations of ConstantValueDefault
Microsoft.CodeAnalysis (13)
ConstantValueSpecialized.cs (13)
339public static readonly ConstantValueDefault SByte = new ConstantValueDefault(ConstantValueTypeDiscriminator.SByte); 340public static readonly ConstantValueDefault Byte = new ConstantValueDefault(ConstantValueTypeDiscriminator.Byte); 341public static readonly ConstantValueDefault Int16 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int16); 342public static readonly ConstantValueDefault UInt16 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt16); 343public static readonly ConstantValueDefault Int32 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int32); 344public static readonly ConstantValueDefault UInt32 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt32); 345public static readonly ConstantValueDefault Int64 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int64); 346public static readonly ConstantValueDefault UInt64 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt64); 347public static readonly ConstantValueDefault NInt = new ConstantValueDefault(ConstantValueTypeDiscriminator.NInt); 348public static readonly ConstantValueDefault NUInt = new ConstantValueDefault(ConstantValueTypeDiscriminator.NUInt); 349public static readonly ConstantValueDefault Char = new ConstantValueDefault(ConstantValueTypeDiscriminator.Char); 353public static readonly ConstantValueDefault DateTime = new ConstantValueDefault(ConstantValueTypeDiscriminator.DateTime); 354public static readonly ConstantValueDefault Boolean = new ConstantValueDefault(ConstantValueTypeDiscriminator.Boolean);
50 references to ConstantValueDefault
Microsoft.CodeAnalysis (50)
ConstantValue.cs (34)
97public static ConstantValue False { get { return ConstantValueDefault.Boolean; } } 119return ConstantValueDefault.Char; 129return ConstantValueDefault.SByte; 143return ConstantValueDefault.Byte; 157return ConstantValueDefault.Int16; 171return ConstantValueDefault.UInt16; 185return ConstantValueDefault.Int32; 199return ConstantValueDefault.UInt32; 213return ConstantValueDefault.Int64; 227return ConstantValueDefault.UInt64; 241return ConstantValueDefault.NInt; 255return ConstantValueDefault.NUInt; 273return ConstantValueDefault.Boolean; 281return ConstantValueDefault.Single; 295return ConstantValueDefault.Single; 309return ConstantValueDefault.Double; 328return ConstantValueDefault.Decimal; 343return ConstantValueDefault.DateTime; 408case ConstantValueTypeDiscriminator.SByte: return ConstantValueDefault.SByte; 409case ConstantValueTypeDiscriminator.Byte: return ConstantValueDefault.Byte; 410case ConstantValueTypeDiscriminator.Int16: return ConstantValueDefault.Int16; 411case ConstantValueTypeDiscriminator.UInt16: return ConstantValueDefault.UInt16; 412case ConstantValueTypeDiscriminator.Int32: return ConstantValueDefault.Int32; 413case ConstantValueTypeDiscriminator.UInt32: return ConstantValueDefault.UInt32; 414case ConstantValueTypeDiscriminator.Int64: return ConstantValueDefault.Int64; 415case ConstantValueTypeDiscriminator.UInt64: return ConstantValueDefault.UInt64; 416case ConstantValueTypeDiscriminator.NInt: return ConstantValueDefault.NInt; 417case ConstantValueTypeDiscriminator.NUInt: return ConstantValueDefault.NUInt; 418case ConstantValueTypeDiscriminator.Char: return ConstantValueDefault.Char; 419case ConstantValueTypeDiscriminator.Boolean: return ConstantValueDefault.Boolean; 420case ConstantValueTypeDiscriminator.Single: return ConstantValueDefault.Single; 421case ConstantValueTypeDiscriminator.Double: return ConstantValueDefault.Double; 422case ConstantValueTypeDiscriminator.Decimal: return ConstantValueDefault.Decimal; 423case ConstantValueTypeDiscriminator.DateTime: return ConstantValueDefault.DateTime;
ConstantValueSpecialized.cs (16)
339public static readonly ConstantValueDefault SByte = new ConstantValueDefault(ConstantValueTypeDiscriminator.SByte); 340public static readonly ConstantValueDefault Byte = new ConstantValueDefault(ConstantValueTypeDiscriminator.Byte); 341public static readonly ConstantValueDefault Int16 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int16); 342public static readonly ConstantValueDefault UInt16 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt16); 343public static readonly ConstantValueDefault Int32 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int32); 344public static readonly ConstantValueDefault UInt32 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt32); 345public static readonly ConstantValueDefault Int64 = new ConstantValueDefault(ConstantValueTypeDiscriminator.Int64); 346public static readonly ConstantValueDefault UInt64 = new ConstantValueDefault(ConstantValueTypeDiscriminator.UInt64); 347public static readonly ConstantValueDefault NInt = new ConstantValueDefault(ConstantValueTypeDiscriminator.NInt); 348public static readonly ConstantValueDefault NUInt = new ConstantValueDefault(ConstantValueTypeDiscriminator.NUInt); 349public static readonly ConstantValueDefault Char = new ConstantValueDefault(ConstantValueTypeDiscriminator.Char); 350public static readonly ConstantValueDefault Single = new ConstantValueSingleZero(); 351public static readonly ConstantValueDefault Double = new ConstantValueDoubleZero(); 352public static readonly ConstantValueDefault Decimal = new ConstantValueDecimalZero(); 353public static readonly ConstantValueDefault DateTime = new ConstantValueDefault(ConstantValueTypeDiscriminator.DateTime); 354public static readonly ConstantValueDefault Boolean = new ConstantValueDefault(ConstantValueTypeDiscriminator.Boolean);