Microsoft.CSharp.RuntimeBinder.Semantics.ConstValFactory.GetNullRef C# (CSharp) Method

GetNullRef() public static method

public static GetNullRef ( ) : CONSTVAL
return CONSTVAL
        public static CONSTVAL GetNullRef()
        {
            return new CONSTVAL();
        }

Usage Example

 public EXPR CreateNull()
 {
     return(CreateConstant(GetTypes().GetNullType(), ConstValFactory.GetNullRef()));
 }