Base:
property
GetMethod
Microsoft.CodeAnalysis.CSharp.Symbols.PropertySymbol.GetMethod
20 references to GetMethod
Microsoft.CodeAnalysis.CSharp (20)
Binder\BinderFactory.BinderFactoryVisitor.cs (2)
292
accessor = (parent.Kind() == SyntaxKind.GetAccessorDeclaration) ? propertySymbol.
GetMethod
: propertySymbol.SetMethod;
418
var accessor = propertySymbol.
GetMethod
;
Symbols\Source\SourceMemberContainerSymbol.cs (6)
3723
mergeAccessors(ref membersByName, (SourcePropertyAccessorSymbol?)currentProperty.
GetMethod
, (SourcePropertyAccessorSymbol?)prevProperty.
GetMethod
);
4581
Debug.Assert(property.
GetMethod
is object);
4583
members.Add(property.
GetMethod
);
5025
AddAccessorIfAvailable(builder.NonTypeMembers, property.
GetMethod
);
5150
AddAccessorIfAvailable(builder.NonTypeMembers, indexer.
GetMethod
);
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
835
? (MethodKind == MethodKind.PropertyGet ? other.
GetMethod
: other.SetMethod)
839
? (MethodKind == MethodKind.PropertyGet ? other.
GetMethod
: other.SetMethod)
Symbols\Source\SourcePropertySymbol.cs (2)
767
if (this.
GetMethod
is { } definitionGetAccessor && implementation.
GetMethod
is { } implementationGetAccessor)
Symbols\Source\SourcePropertySymbolBase.cs (8)
733
return
GetMethod
is null || HasAutoPropertyGet;
898
if ((overriddenProperty.GetMethod is { } &&
GetMethod
is null) ||
918
bool hasGetAccessor =
GetMethod
is object;
997
CheckExplicitImplementationAccessor(
GetMethod
, explicitlyImplementedProperty.GetMethod, explicitlyImplementedProperty, diagnostics);
1206
bool hasGetter =
GetMethod
is object;
1229
Debug.Assert(this.IsSealed && (
GetMethod
is null || SetMethod is null));
1231
if (
GetMethod
is object)
1844
if (
GetMethod
is not null)