14 references to IsReadOnly
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
520if (modifiers.IsConst || modifiers.IsReadOnly)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (3)
388if (!modifiers.IsReadOnly) 472var hasSetter = !modifiers.IsReadOnly; 1695AddIf(modifiers.IsReadOnly, ReadOnlyKeyword);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
CodeGeneration\CodeGenerationTests.cs (2)
759if (modifiers.IsReadOnly) 816if (modifiers.IsReadOnly)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
436If modifiers.IsReadOnly Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
CodeGeneration\VisualBasicSyntaxGenerator.vb (2)
915If(Not modifiers.IsReadOnly, CreateSetAccessorBlock(type, setAccessorStatements), Nothing), 980If Not modifiers.IsReadOnly Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
436If modifiers.IsReadOnly Then
Microsoft.CodeAnalysis.Workspaces (4)
Editing\SyntaxGenerator.cs (1)
342/// a <c>set</c> accessor if <see cref="DeclarationModifiers.IsReadOnly"/> is <see
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (2)
477else if (modifier.IsReadOnly) 517if (Modifier.IsReadOnly)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationMethodSymbol.cs (1)
105public override bool IsReadOnly => Modifiers.IsReadOnly;