19 references to GetOwnOrInheritedSetMethod
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (3)
66return new MethodInfo(property, property.GetOwnOrInheritedSetMethod()); 634? indexer.GetOwnOrInheritedSetMethod() 2034var setMethod = propertySymbol.GetOwnOrInheritedSetMethod();
Binder\Binder_Attributes.cs (1)
537var setMethod = propertySymbol.GetOwnOrInheritedSetMethod();
FlowAnalysis\AbstractFlowPass.cs (2)
3736property.GetOwnOrInheritedSetMethod() ?? property.GetMethod; 3817var writeMethod = symbol.GetOwnOrInheritedSetMethod();
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
944return _bound.MethodInfo(((PropertySymbol)symbol).GetOwnOrInheritedSetMethod(), _bound.WellKnownType(WellKnownType.System_Reflection_MethodInfo));
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
319(method == propertyAccess.GetOwnOrInheritedSetMethod()) || 574var method = indexer.GetOwnOrInheritedGetMethod() ?? indexer.GetOwnOrInheritedSetMethod();
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
311var setMethod = property.GetOwnOrInheritedSetMethod();
Operations\CSharpOperationFactory.cs (1)
901: property.GetOwnOrInheritedSetMethod();
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
274propertyOverriddenByProperty.GetOwnOrInheritedSetMethod();
Symbols\PropertySymbol.cs (1)
169return this.GetOwnOrInheritedSetMethod() is null;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1135var ownOrInheritedOverriddenSetMethod = overriddenProperty.GetOwnOrInheritedSetMethod(); 1163MethodSymbol ownOrInheritedSetMethod = overridingProperty.GetOwnOrInheritedSetMethod();
Symbols\Source\SourcePropertySymbolBase.cs (1)
1297MethodSymbol overriddenAccessor = this.GetOwnOrInheritedSetMethod();
Symbols\SymbolExtensions.cs (1)
441if (property.GetOwnOrInheritedSetMethod()?.Parameters.Last().FlowAnalysisAnnotations is { } setterAnnotations)
Symbols\TypeSymbol.cs (2)
1577correspondingImplementingAccessor = ((PropertySymbol)implementingPropertyOrEvent).GetOwnOrInheritedSetMethod(); 1945implementingProperty.GetOwnOrInheritedSetMethod() :