public void Add(ParameterModifiers m) 
		{
			if ((cur & m) == 0) {
				cur |= m;
			} else {
				parser.Error("param modifier " + m + " already defined");
			}
		}
示例#2
0
 public void Add(ICSharpCode.NRefactory.Parser.AST.ParamModifier m)
 {
     if ((cur & m) == 0)
     {
         cur |= m;
     }
     else
     {
         parser.Error("param modifier " + m + " already defined");
     }
 }