11 references to ReadOnlyKeyword
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
1724
list.Add(
ReadOnlyKeyword
);
3439
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)
340
modifiers.Add(
ReadOnlyKeyword
);
383
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)
145
RefKind.RefReadOnly when forFunctionPointerReturnParameter => [RefKeyword,
ReadOnlyKeyword
],
146
RefKind.RefReadOnlyParameter => [RefKeyword,
ReadOnlyKeyword
],