11 references to ReadOnlyKeyword
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
1698
AddIf(modifiers.IsReadOnly,
ReadOnlyKeyword
);
3423
RefKind.RefReadOnly => SyntaxFactory.RefType(RefKeyword,
ReadOnlyKeyword
, type),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\EventGenerator.cs (1)
230
tokens.Add(
ReadOnlyKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\FieldGenerator.cs (1)
137
tokens.Add(
ReadOnlyKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (1)
299
tokens.Add(
ReadOnlyKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (1)
302
tokens.Add(
ReadOnlyKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (2)
336
modifiers.Add(
ReadOnlyKeyword
);
379
tokens.Add(
ReadOnlyKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
91
var readOnlyKeyword =
ReadOnlyKeyword
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (2)
167
result.Add(
ReadOnlyKeyword
);
172
result.Add(
ReadOnlyKeyword
);