Skip to content

enum operators support #235

@waclaw66

Description

@waclaw66

Following example ends with an error. Please add support for enum operators.

var target = new Interpreter();
target.Reference(typeof(Regex));
target.Reference(typeof(RegexOptions));
target.Eval("new Regex(\"x\", RegexOptions.Compiled | RegexOptions.Singleline)");

The binary operator Or is not defined for the types 'System.Text.RegularExpressions.RegexOptions' and 'System.Text.RegularExpressions.RegexOptions'.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions