15 references to IsReadOnly
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\DeclarationName\DeclarationNameInfo.cs (1)
509if (modifiers.IsConst || modifiers.IsReadOnly)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (3)
390if (!modifiers.IsReadOnly) 474var hasSetter = !modifiers.IsReadOnly; 1723if (modifiers.IsReadOnly)
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 (5)
Editing\SyntaxGenerator.cs (1)
343/// a <c>set</c> accessor if <see cref="DeclarationModifiers.IsReadOnly"/> is <see
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (2)
468else if (modifier.IsReadOnly) 508if (Modifier.IsReadOnly)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationMethodSymbol.cs (1)
105public override bool IsReadOnly => Modifiers.IsReadOnly;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationTypeSymbol.cs (1)
84bool ITypeSymbol.IsReadOnly => Modifiers.IsReadOnly;