1 write to _getMethod
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourcePropertySymbolBase.cs (1)
189
_getMethod
= CreateGetAccessorSymbol(hasAutoPropertyGet, diagnostics);
13 references to _getMethod
Microsoft.CodeAnalysis.CSharp (13)
Symbols\Source\SourcePropertySymbolBase.cs (13)
335
else if (property.
_getMethod
is { IsAutoPropertyAccessor: false } getMethod
625
return
_getMethod
;
813
(
_getMethod
is null || (_propertyFlags & Flags.HasAutoPropertyGet) != 0 ||
_getMethod
.IsDeclaredReadOnly))
923
Debug.Assert(
_getMethod
is object);
930
else if ((
_getMethod
.LocalAccessibility != Accessibility.NotApplicable) &&
936
else if (
_getMethod
.LocalDeclaredReadOnly && _setMethod.LocalDeclaredReadOnly)
943
CheckAbstractPropertyAccessorNotPrivate(
_getMethod
, diagnostics);
970
var accessor =
_getMethod
?? _setMethod;
989
CheckAccessibilityMoreRestrictive(
_getMethod
, diagnostics);
1609
return isNullOrValidAccessor(
_getMethod
) &&
1779
if (
_getMethod
is not null)
1780
DeclaringCompilation.SymbolDeclaredEvent(
_getMethod
);