private static ISchemaErrorBuilder SetField( this ISchemaErrorBuilder errorBuilder, IField field, string name = "field") => errorBuilder .AddSyntaxNode(field.SyntaxNode) .SetExtension(name, field);
private static ISchemaErrorBuilder SetImplementedType( this ISchemaErrorBuilder errorBuilder, IComplexOutputType type) => errorBuilder .AddSyntaxNode(type.SyntaxNode) .SetExtension("implementedType", type);
private static ISchemaErrorBuilder SetType( this ISchemaErrorBuilder errorBuilder, IComplexOutputType type) => errorBuilder .AddSyntaxNode(type.SyntaxNode) .SetTypeSystemObject((TypeSystemObjectBase)type);