11 references to LocalDeclaredReadOnly
Microsoft.CodeAnalysis.CSharp (11)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
132
return sourceAccessor.
LocalDeclaredReadOnly
|| sourceProperty.HasReadOnlyModifier;
Symbols\Source\SourcePropertyAccessorSymbol.cs (7)
441
if (
LocalDeclaredReadOnly
|| (_property.HasReadOnlyModifier && IsValidReadOnlyTarget))
547
else if (
LocalDeclaredReadOnly
&& _property.HasReadOnlyModifier)
552
else if (
LocalDeclaredReadOnly
&& IsStatic)
557
else if (
LocalDeclaredReadOnly
&& IsInitOnly)
562
else if (
LocalDeclaredReadOnly
&& _isAutoPropertyAccessor && MethodKind == MethodKind.PropertySet)
856
if (
LocalDeclaredReadOnly
!= implementationAccessor.
LocalDeclaredReadOnly
)
Symbols\Source\SourcePropertySymbolBase.cs (3)
936
else if (_getMethod.
LocalDeclaredReadOnly
&& _setMethod.
LocalDeclaredReadOnly
)
980
if (accessor.
LocalDeclaredReadOnly
)