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