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

BuildDOM() public method

public BuildDOM ( ) : Parse.TypeDeclaration
return Parse.TypeDeclaration
        public override Parse.TypeDeclaration BuildDOM()
        {
            switch (System.Runtime.InteropServices.Marshal.SizeOf(Native))
            {
                case 4: return new Parse.NamedType { Target = Parse.ID.FromComponents("System", "Int32") };
                case 8: return new Parse.NamedType { Target = Parse.ID.FromComponents("System", "Int64") };
                default: throw new NotSupportedException();
            }
        }