Mono.CSharp.Operator.Operator C# (CSharp) Method

Operator() static private method

static private Operator ( ) : System.Xml
return System.Xml
        static Operator()
        {
            names = new string[(int)OpType.TOP][];
            names [(int) OpType.LogicalNot] = new string [] { "!", "op_LogicalNot" };
            names [(int) OpType.OnesComplement] = new string [] { "~", "op_OnesComplement" };
            names [(int) OpType.Increment] = new string [] { "++", "op_Increment" };
            names [(int) OpType.Decrement] = new string [] { "--", "op_Decrement" };
            names [(int) OpType.True] = new string [] { "true", "op_True" };
            names [(int) OpType.False] = new string [] { "false", "op_False" };
            names [(int) OpType.Addition] = new string [] { "+", "op_Addition" };
            names [(int) OpType.Subtraction] = new string [] { "-", "op_Subtraction" };
            names [(int) OpType.UnaryPlus] = new string [] { "+", "op_UnaryPlus" };
            names [(int) OpType.UnaryNegation] = new string [] { "-", "op_UnaryNegation" };
            names [(int) OpType.Multiply] = new string [] { "*", "op_Multiply" };
            names [(int) OpType.Division] = new string [] { "/", "op_Division" };
            names [(int) OpType.Modulus] = new string [] { "%", "op_Modulus" };
            names [(int) OpType.BitwiseAnd] = new string [] { "&", "op_BitwiseAnd" };
            names [(int) OpType.BitwiseOr] = new string [] { "|", "op_BitwiseOr" };
            names [(int) OpType.ExclusiveOr] = new string [] { "^", "op_ExclusiveOr" };
            names [(int) OpType.LeftShift] = new string [] { "<<", "op_LeftShift" };
            names [(int) OpType.RightShift] = new string [] { ">>", "op_RightShift" };
            names [(int) OpType.Equality] = new string [] { "==", "op_Equality" };
            names [(int) OpType.Inequality] = new string [] { "!=", "op_Inequality" };
            names [(int) OpType.GreaterThan] = new string [] { ">", "op_GreaterThan" };
            names [(int) OpType.LessThan] = new string [] { "<", "op_LessThan" };
            names [(int) OpType.GreaterThanOrEqual] = new string [] { ">=", "op_GreaterThanOrEqual" };
            names [(int) OpType.LessThanOrEqual] = new string [] { "<=", "op_LessThanOrEqual" };
            names [(int) OpType.Implicit] = new string [] { "implicit", "op_Implicit" };
            names [(int) OpType.Explicit] = new string [] { "explicit", "op_Explicit" };
        }

Same methods

Operator::Operator ( DeclSpace parent, OpType type, Mono.CSharp.FullNamedExpression ret_type, Mono.CSharp.Modifiers mod_flags, ParametersCompiled parameters, ToplevelBlock block, Mono.CSharp.Attributes attrs, Mono.CSharp.Location loc ) : System.Xml