21 references to GetOwnOrInheritedSetMethod
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (5)
72property.GetOwnOrInheritedGetMethod() ?? property.GetOwnOrInheritedSetMethod(), 80AccessorKind.Set => new MethodInfo(property, property.GetOwnOrInheritedSetMethod(), setMethod: null), 81AccessorKind.Both => new MethodInfo(property, property.GetOwnOrInheritedGetMethod(), property.GetOwnOrInheritedSetMethod()), 411? indexerAccess.Indexer.GetOwnOrInheritedSetMethod() 1747var setMethod = propertySymbol.GetOwnOrInheritedSetMethod();
Binder\Binder_Attributes.cs (1)
534var setMethod = propertySymbol.GetOwnOrInheritedSetMethod();
FlowAnalysis\AbstractFlowPass.cs (2)
3688property.GetOwnOrInheritedSetMethod() ?? property.GetMethod; 3769var writeMethod = symbol.GetOwnOrInheritedSetMethod();
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
916return _bound.MethodInfo(((PropertySymbol)symbol).GetOwnOrInheritedSetMethod(), _bound.WellKnownType(WellKnownType.System_Reflection_MethodInfo));
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
316(method == propertyAccess.GetOwnOrInheritedSetMethod()) || 529var method = indexer.GetOwnOrInheritedGetMethod() ?? indexer.GetOwnOrInheritedSetMethod();
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
279var setMethod = property.GetOwnOrInheritedSetMethod();
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
365var accessor = indexer.GetOwnOrInheritedGetMethod() ?? indexer.GetOwnOrInheritedSetMethod();
Operations\CSharpOperationFactory.cs (1)
886: property.GetOwnOrInheritedSetMethod();
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
274propertyOverriddenByProperty.GetOwnOrInheritedSetMethod();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1107var ownOrInheritedOverriddenSetMethod = overriddenProperty.GetOwnOrInheritedSetMethod(); 1135MethodSymbol ownOrInheritedSetMethod = overridingProperty.GetOwnOrInheritedSetMethod();
Symbols\Source\SourcePropertySymbolBase.cs (1)
1234MethodSymbol overriddenAccessor = this.GetOwnOrInheritedSetMethod();
Symbols\SymbolExtensions.cs (1)
453if (property.GetOwnOrInheritedSetMethod()?.Parameters.Last().FlowAnalysisAnnotations is { } setterAnnotations)
Symbols\TypeSymbol.cs (2)
1567correspondingImplementingAccessor = ((PropertySymbol)implementingPropertyOrEvent).GetOwnOrInheritedSetMethod(); 1918implementingProperty.GetOwnOrInheritedSetMethod() :