Ancestry.QueryProcessor.Type.BaseIntegerType.BuildDefault C# (CSharp) Method

BuildDefault() public method

public BuildDefault ( ) : Parse.Expression
return Parse.Expression
        public override Parse.Expression BuildDefault()
        {
            if (System.Runtime.InteropServices.Marshal.SizeOf(Native) == 4)
                return new Parse.LiteralExpression { Value = 0 };
            else if (System.Runtime.InteropServices.Marshal.SizeOf(Native) == 8)
                return new Parse.LiteralExpression { Value = 0L };
            else
                throw new NotSupportedException();
        }