24 references to GetOwnOrInheritedGetMethod
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder.ValueChecks.cs (2)
321
: indexerAccess.Indexer.
GetOwnOrInheritedGetMethod
();
1583
var getMethod = propertySymbol.
GetOwnOrInheritedGetMethod
();
Binder\Binder_Expressions.cs (1)
8830
property.
GetOwnOrInheritedGetMethod
()?.OriginalDefinition is MethodSymbol getMethod &&
Binder\ForEachLoopBinder.cs (1)
1446
MethodSymbol currentPropertyGetterCandidate = ((PropertySymbol)lookupSymbol).
GetOwnOrInheritedGetMethod
();
FlowAnalysis\AbstractFlowPass.cs (2)
3493
property.
GetOwnOrInheritedGetMethod
() ?? property.SetMethod;
3519
var readMethod = property.
GetOwnOrInheritedGetMethod
();
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
852
return _bound.MethodInfo(((PropertySymbol)symbol).
GetOwnOrInheritedGetMethod
());
1013
var getMethod = node.PropertySymbol.
GetOwnOrInheritedGetMethod
();
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
304
(method == propertyAccess.
GetOwnOrInheritedGetMethod
()) ||
486
var method = indexer.
GetOwnOrInheritedGetMethod
() ?? indexer.GetOwnOrInheritedSetMethod();
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
360
var accessor = indexer.
GetOwnOrInheritedGetMethod
() ?? indexer.GetOwnOrInheritedSetMethod();
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (2)
74
Debug.Assert((object?)node.Indexer.
GetOwnOrInheritedGetMethod
() != null);
128
var getMethod = indexer.
GetOwnOrInheritedGetMethod
();
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.cs (1)
89
var getMethod = getMethodOpt ?? property.
GetOwnOrInheritedGetMethod
();
Lowering\SyntheticBoundNodeFactory.cs (2)
322
var accessor = property.
GetOwnOrInheritedGetMethod
();
330
var accessor = property.
GetOwnOrInheritedGetMethod
();
Operations\CSharpOperationFactory.cs (1)
880
MethodSymbol? accessor = isObjectOrCollectionInitializer ? property.
GetOwnOrInheritedGetMethod
() : property.GetOwnOrInheritedSetMethod();
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
273
propertyOverriddenByProperty.
GetOwnOrInheritedGetMethod
() :
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1099
MethodSymbol overriddenGetMethod = overriddenProperty.
GetOwnOrInheritedGetMethod
();
1138
MethodSymbol ownOrInheritedGetMethod = overridingProperty.
GetOwnOrInheritedGetMethod
();
Symbols\Source\SourcePropertySymbolBase.cs (1)
1016
MethodSymbol overriddenAccessor = this.
GetOwnOrInheritedGetMethod
();
Symbols\SymbolExtensions.cs (1)
446
var annotations = property.
GetOwnOrInheritedGetMethod
()?.ReturnTypeFlowAnalysisAnnotations ?? FlowAnalysisAnnotations.None;
Symbols\TypeSymbol.cs (2)
1562
correspondingImplementingAccessor = ((PropertySymbol)implementingPropertyOrEvent).
GetOwnOrInheritedGetMethod
();
1880
implementingProperty.
GetOwnOrInheritedGetMethod
() :