Base:
property
IsDeclaredReadOnly
Microsoft.CodeAnalysis.CSharp.Symbols.SourceMemberMethodSymbol.IsDeclaredReadOnly
2 references to IsDeclaredReadOnly
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourcePropertySymbolBase.cs (2)
812
else if ((_setMethod is null || _setMethod.IsInitOnly || _setMethod.
IsDeclaredReadOnly
) &&
813
(_getMethod is null || (_propertyFlags & Flags.HasAutoPropertyGet) != 0 || _getMethod.
IsDeclaredReadOnly
))