Boo.Lang.Compiler.CompilerErrorFactory.InvalidNodeForAttribute C# (CSharp) Метод

InvalidNodeForAttribute() публичный статический Метод

public static InvalidNodeForAttribute ( Node node, string attributeName, string expectedNodeTypes ) : CompilerError
node Node
attributeName string
expectedNodeTypes string
Результат CompilerError
        public static CompilerError InvalidNodeForAttribute(Node node, string attributeName, string expectedNodeTypes)
        {
            return Instantiate("BCE0066", node, attributeName, expectedNodeTypes);
        }

Usage Example

Пример #1
0
 protected void InvalidNodeForAttribute(string expectedNodeTypes)
 {
     Errors.Add(CompilerErrorFactory.InvalidNodeForAttribute(LexicalInfo, GetType().FullName, expectedNodeTypes));
 }
CompilerErrorFactory