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)
99public static ConstantValue False { get { return ConstantValueDefault.Boolean; } } 121return ConstantValueDefault.Char; 135return ConstantValueDefault.SByte; 149return ConstantValueDefault.Byte; 163return ConstantValueDefault.Int16; 177return ConstantValueDefault.UInt16; 191return ConstantValueDefault.Int32; 205return ConstantValueDefault.UInt32; 219return ConstantValueDefault.Int64; 233return ConstantValueDefault.UInt64; 247return ConstantValueDefault.NInt; 261return ConstantValueDefault.NUInt; 279return ConstantValueDefault.Boolean; 287return ConstantValueDefault.Single; 301return ConstantValueDefault.Single; 315return ConstantValueDefault.Double; 334return ConstantValueDefault.Decimal; 349return ConstantValueDefault.DateTime; 412case ConstantValueTypeDiscriminator.SByte: return ConstantValueDefault.SByte; 413case ConstantValueTypeDiscriminator.Byte: return ConstantValueDefault.Byte; 414case ConstantValueTypeDiscriminator.Int16: return ConstantValueDefault.Int16; 415case ConstantValueTypeDiscriminator.UInt16: return ConstantValueDefault.UInt16; 416case ConstantValueTypeDiscriminator.Int32: return ConstantValueDefault.Int32; 417case ConstantValueTypeDiscriminator.UInt32: return ConstantValueDefault.UInt32; 418case ConstantValueTypeDiscriminator.Int64: return ConstantValueDefault.Int64; 419case ConstantValueTypeDiscriminator.UInt64: return ConstantValueDefault.UInt64; 420case ConstantValueTypeDiscriminator.NInt: return ConstantValueDefault.NInt; 421case ConstantValueTypeDiscriminator.NUInt: return ConstantValueDefault.NUInt; 422case ConstantValueTypeDiscriminator.Char: return ConstantValueDefault.Char; 423case ConstantValueTypeDiscriminator.Boolean: return ConstantValueDefault.Boolean; 424case ConstantValueTypeDiscriminator.Single: return ConstantValueDefault.Single; 425case ConstantValueTypeDiscriminator.Double: return ConstantValueDefault.Double; 426case ConstantValueTypeDiscriminator.Decimal: return ConstantValueDefault.Decimal; 427case 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);