19 references to StaticKeyword
Microsoft.CodeAnalysis.CSharp.Workspaces (19)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
831
modifiersToken = modifiersToken.Insert(0,
StaticKeyword
);
1695
AddIf(modifiers.IsStatic,
StaticKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
123
tokens.Add(
StaticKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (3)
106
return method.IsStatic ? [
StaticKeyword
] : [];
112
? ([
StaticKeyword
, AbstractKeyword])
113
: ([PublicKeyword,
StaticKeyword
]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (3)
201
tokens.Add(
StaticKeyword
);
210
tokens.Add(
StaticKeyword
);
222
tokens.Add(
StaticKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (1)
134
tokens.Add(
StaticKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (4)
263
tokens.Add(
StaticKeyword
);
275
tokens.Add(
StaticKeyword
);
288
tokens.Add(
StaticKeyword
);
313
tokens.Add(
StaticKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (1)
287
tokens.Add(
StaticKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
119
tokens.Add(
StaticKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (3)
350
tokens.Add(
StaticKeyword
);
359
tokens.Add(
StaticKeyword
);
370
tokens.Add(
StaticKeyword
);