19 references to GetOwnOrInheritedSetMethod
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (2)
320? indexerAccess.Indexer.GetOwnOrInheritedSetMethod() 1514var setMethod = propertySymbol.GetOwnOrInheritedSetMethod();
Binder\Binder_Attributes.cs (1)
514var setMethod = propertySymbol.GetOwnOrInheritedSetMethod();
FlowAnalysis\AbstractFlowPass.cs (2)
3496property.GetOwnOrInheritedSetMethod() ?? property.GetMethod; 3577var writeMethod = symbol.GetOwnOrInheritedSetMethod();
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
837return _bound.MethodInfo(((PropertySymbol)symbol).GetOwnOrInheritedSetMethod());
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
305(method == propertyAccess.GetOwnOrInheritedSetMethod()) || 486var method = indexer.GetOwnOrInheritedGetMethod() ?? indexer.GetOwnOrInheritedSetMethod();
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
288var setMethod = property.GetOwnOrInheritedSetMethod();
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
360var accessor = indexer.GetOwnOrInheritedGetMethod() ?? indexer.GetOwnOrInheritedSetMethod();
Operations\CSharpOperationFactory.cs (1)
880MethodSymbol? accessor = isObjectOrCollectionInitializer ? property.GetOwnOrInheritedGetMethod() : property.GetOwnOrInheritedSetMethod();
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
274propertyOverriddenByProperty.GetOwnOrInheritedSetMethod();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (3)
1110overriddenProperty.GetOwnOrInheritedSetMethod()?.AssociatedSymbol != overriddenProperty); 1115var ownOrInheritedOverriddenSetMethod = overriddenProperty.GetOwnOrInheritedSetMethod(); 1145MethodSymbol ownOrInheritedSetMethod = overridingProperty.GetOwnOrInheritedSetMethod();
Symbols\Source\SourcePropertySymbolBase.cs (1)
1010MethodSymbol overriddenAccessor = this.GetOwnOrInheritedSetMethod();
Symbols\SymbolExtensions.cs (1)
447if (property.GetOwnOrInheritedSetMethod()?.Parameters.Last().FlowAnalysisAnnotations is { } setterAnnotations)
Symbols\TypeSymbol.cs (2)
1565correspondingImplementingAccessor = ((PropertySymbol)implementingPropertyOrEvent).GetOwnOrInheritedSetMethod(); 1883implementingProperty.GetOwnOrInheritedSetMethod() :