4 references to IsValidReadOnlyTarget
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEMethodSymbol.cs (2)
1010: IsValidReadOnlyTarget; 1395if (IsValidReadOnlyTarget)
Symbols\MethodSymbol.cs (1)
367internal virtual bool IsEffectivelyReadOnly => (IsDeclaredReadOnly || ContainingType?.IsReadOnly == true) && IsValidReadOnlyTarget;
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
441if (LocalDeclaredReadOnly || (_property.HasReadOnlyModifier && IsValidReadOnlyTarget))