1 write to _getMethod
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourcePropertySymbolBase.cs (1)
192
_getMethod
= CreateGetAccessorSymbol(hasAutoPropertyGet, diagnostics);
13 references to _getMethod
Microsoft.CodeAnalysis.CSharp (13)
Symbols\Source\SourcePropertySymbolBase.cs (13)
338
else if (property.
_getMethod
is { IsAutoPropertyAccessor: false } getMethod
652
return
_getMethod
;
832
(
_getMethod
is null || (_propertyFlags & Flags.HasAutoPropertyGet) != 0 ||
_getMethod
.IsDeclaredReadOnly))
947
Debug.Assert(
_getMethod
is object);
954
else if ((
_getMethod
.LocalAccessibility != Accessibility.NotApplicable) &&
960
else if (
_getMethod
.LocalDeclaredReadOnly && _setMethod.LocalDeclaredReadOnly)
967
CheckAbstractPropertyAccessorNotPrivate(
_getMethod
, diagnostics);
994
var accessor =
_getMethod
?? _setMethod;
1013
CheckAccessibilityMoreRestrictive(
_getMethod
, diagnostics);
1682
return isNullOrValidAccessor(
_getMethod
) &&
1860
if (
_getMethod
is not null)
1861
DeclaringCompilation.SymbolDeclaredEvent(
_getMethod
);