public void Add(ICSharpCode.NRefactory.Parser.AST.ParamModifier m) { if ((cur & m) == 0) { cur |= m; } else { parser.Error("param modifier " + m + " already defined"); } }
public ParamModifiers(Parser parser) { this.parser = parser; cur = ICSharpCode.NRefactory.Parser.AST.ParamModifier.None; }