2 implementations of IsReadOnly
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PropertySymbol.cs (1)
79bool IPropertySymbol.IsReadOnly
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
108Public Overridable ReadOnly Property IsReadOnly As Boolean Implements IPropertySymbol.IsReadOnly
39 references to IsReadOnly
Metrics (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
Metrics.Legacy (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\EndpointParameter.cs (1)
481var writableProperties = properties.Where(property => !property.IsReadOnly);
Microsoft.CodeAnalysis.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityFactory.cs (1)
297propertyReference.Property.IsReadOnly ||
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\Core\Portable\Editing\DeclarationModifiers.cs (1)
80isReadOnly: field?.IsReadOnly == true || property?.IsReadOnly == true || type?.IsReadOnly == true || method?.IsReadOnly == true,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
497if (!propertySymbol.IsReadOnly &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
329IPropertySymbol propertySymbol => !propertySymbol.IsReadOnly,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
535p1.IsReadOnly != p2.IsReadOnly ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
203Hash.Combine(p.IsReadOnly,
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
Microsoft.CodeAnalysis.VisualBasic (3)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
67If (symbol.IsReadOnly) Then
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
410Return If(prop.IsReadOnly, "Key " & result, result)
Symbols\PropertySymbol.vb (1)
108Public Overridable ReadOnly Property IsReadOnly As Boolean Implements IPropertySymbol.IsReadOnly
Microsoft.CodeAnalysis.Workspaces (6)
Editing\DeclarationModifiers.cs (1)
80isReadOnly: field?.IsReadOnly == true || property?.IsReadOnly == true || type?.IsReadOnly == true || method?.IsReadOnly == true,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
497if (!propertySymbol.IsReadOnly &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
329IPropertySymbol propertySymbol => !propertySymbol.IsReadOnly,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
535p1.IsReadOnly != p2.IsReadOnly ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
203Hash.Combine(p.IsReadOnly,
Roslyn.Diagnostics.Analyzers (4)
AbstractExposeMemberForTesting`1.cs (2)
134if (!propertySymbol.IsReadOnly) 144else if (propertySymbol.IsReadOnly)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
Test.Utilities (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,
Text.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ISymbolExtensions.cs (2)
620IPropertySymbol property => property.IsReadOnly, 859IPropertySymbol property => property.IsReadOnly,