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