8 references to HasReadOnlyModifier
Microsoft.CodeAnalysis.CSharp (8)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
132
return sourceAccessor.LocalDeclaredReadOnly || sourceProperty.
HasReadOnlyModifier
;
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
441
if (LocalDeclaredReadOnly || (_property.
HasReadOnlyModifier
&& IsValidReadOnlyTarget))
547
else if (LocalDeclaredReadOnly && _property.
HasReadOnlyModifier
)
Symbols\Source\SourcePropertySymbol.cs (2)
725
if (
HasReadOnlyModifier
!= implementation.
HasReadOnlyModifier
)
Symbols\Source\SourcePropertySymbolBase.cs (3)
806
else if (
HasReadOnlyModifier
)
879
else if (
HasReadOnlyModifier
)
1067
else if (IsStatic &&
HasReadOnlyModifier
)