Microsoft.CSharp.RuntimeBinder.Semantics.ConstVal
struct ConstVal
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
internal readonly struct ConstVal
{
public object ObjectVal { get; }
public bool BooleanVal { get; }
public sbyte SByteVal { get; }
public byte ByteVal { get; }
public short Int16Val { get; }
public ushort UInt16Val { get; }
public int Int32Val { get; }
public uint UInt32Val { get; }
public long Int64Val { get; }
public ulong UInt64Val { get; }
public float SingleVal { get; }
public double DoubleVal { get; }
public decimal DecimalVal { get; }
public char CharVal { get; }
public string StringVal { get; }
public bool IsNullRef { get; }
public bool IsZero(ConstValKind kind);
public static ConstVal GetDefaultValue(ConstValKind kind);
public static ConstVal Get(bool value);
public static ConstVal Get(int value);
public static ConstVal Get(uint value);
public static ConstVal Get(decimal value);
public static ConstVal Get(string value);
public static ConstVal Get(float value);
public static ConstVal Get(double value);
public static ConstVal Get(long value);
public static ConstVal Get(ulong value);
public static ConstVal Get(object p);
}
}