7 references to IsNew
CSharpSyntaxGenerator (7)
AbstractFileWriter.cs (2)
137
return IsOverride(field) ? "override " :
IsNew
(field) ? "new " : "";
142
return field.Type != "SyntaxToken" && !IsAnyList(field.Type) && !IsOverride(field) && !
IsNew
(field);
SourceWriter.cs (5)
127
WriteLine($"public abstract {(
IsNew
(field) ? "new " : "")}CoreSyntax.{field.Type} {field.Name} {{ get; }}");
131
WriteLine($"public abstract {(
IsNew
(field) ? "new " : "")}{(GetFieldType(field, green: true))} {field.Name} {{ get; }}");
141
WriteLine($"public abstract {(
IsNew
(field) ? "new " : "")}{field.Type} {field.Name} {{ get; }}");
723
WriteLine($"{"public"} abstract {(
IsNew
(field) ? "new " : "")}{fieldType} {field.Name} {{ get; }}");
759
WriteLine($"{"public"} abstract {(
IsNew
(field) ? "new " : "")}{field.Type} {field.Name} {{ get; }}");