9 references to OverrideOrNewModifier
CSharpSyntaxGenerator (9)
SourceWriter.cs (9)
212
WriteLine($"public {
OverrideOrNewModifier
(field)}{type} {field.Name} => new {type}(this.{CamelCase(field.Name)});");
217
WriteLine($"public {
OverrideOrNewModifier
(field)}{type} {field.Name} => new {type}(new CoreSyntax.SyntaxList<CSharpSyntaxNode>(this.{CamelCase(field.Name)}));");
222
WriteLine($"public {
OverrideOrNewModifier
(field)}{type} {field.Name} => new {type}(this.{CamelCase(field.Name)});");
226
WriteLine($"public {
OverrideOrNewModifier
(field)}{(GetFieldType(field, green: true))} {field.Name} => this.{CamelCase(field.Name)};");
233
WriteLine($"public {
OverrideOrNewModifier
(field)}{field.Type} {field.Name} => this.{CamelCase(field.Name)};");
859
Write($"public {
OverrideOrNewModifier
(field)}{GetRedPropertyType(field)} {field.Name}");
879
WriteLine($"public {
OverrideOrNewModifier
(field)}SyntaxTokenList {field.Name}");
891
Write($"public {
OverrideOrNewModifier
(field)}{GetRedPropertyType(field)} {field.Name}");
932
WriteLine($"{"public"} {
OverrideOrNewModifier
(field)}{field.Type} {field.Name} => ((InternalSyntax.{node.Name})this.Green).{field.Name};");