1 write to _getMethod
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourcePropertySymbolBase.cs (1)
192
_getMethod
= CreateGetAccessorSymbol(hasAutoPropertyGet, diagnostics);
20 references to _getMethod
Microsoft.CodeAnalysis.CSharp (20)
Symbols\Source\SourcePropertySymbolBase.cs (20)
338
else if (property.
_getMethod
is { IsAutoPropertyAccessor: false } getMethod
652
return
_getMethod
;
832
(
_getMethod
is null || (_propertyFlags & Flags.HasAutoPropertyGet) != 0 ||
_getMethod
.IsDeclaredReadOnly))
943
((
_getMethod
!= null && (
_getMethod
.HasUnsafeModifier ||
_getMethod
.HasSafeModifier)) ||
957
Debug.Assert(
_getMethod
is object);
964
else if ((
_getMethod
.LocalAccessibility != Accessibility.NotApplicable) &&
970
else if (
_getMethod
.LocalDeclaredReadOnly && _setMethod.LocalDeclaredReadOnly)
975
((
_getMethod
.HasUnsafeModifier && _setMethod.HasUnsafeModifier && !
_getMethod
.HasSafeModifier && !_setMethod.HasSafeModifier) ||
976
(
_getMethod
.HasSafeModifier && _setMethod.HasSafeModifier && !
_getMethod
.HasUnsafeModifier && !_setMethod.HasUnsafeModifier)))
984
CheckAbstractPropertyAccessorNotPrivate(
_getMethod
, diagnostics);
1011
var accessor =
_getMethod
?? _setMethod;
1036
CheckAccessibilityMoreRestrictive(
_getMethod
, diagnostics);
1690
return isNullOrValidAccessor(
_getMethod
) &&
1868
if (
_getMethod
is not null)
1869
DeclaringCompilation.SymbolDeclaredEvent(
_getMethod
);