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