21 references to GetOwnOrInheritedSetMethod
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (5)
72
property.GetOwnOrInheritedGetMethod() ?? property.
GetOwnOrInheritedSetMethod
(),
80
AccessorKind.Set => new MethodInfo(property, property.
GetOwnOrInheritedSetMethod
(), setMethod: null),
81
AccessorKind.Both => new MethodInfo(property, property.GetOwnOrInheritedGetMethod(), property.
GetOwnOrInheritedSetMethod
()),
417
? indexerAccess.Indexer.
GetOwnOrInheritedSetMethod
()
1754
var setMethod = propertySymbol.
GetOwnOrInheritedSetMethod
();
Binder\Binder_Attributes.cs (1)
534
var setMethod = propertySymbol.
GetOwnOrInheritedSetMethod
();
FlowAnalysis\AbstractFlowPass.cs (2)
3704
property.
GetOwnOrInheritedSetMethod
() ?? property.GetMethod;
3785
var writeMethod = symbol.
GetOwnOrInheritedSetMethod
();
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
916
return _bound.MethodInfo(((PropertySymbol)symbol).
GetOwnOrInheritedSetMethod
(), _bound.WellKnownType(WellKnownType.System_Reflection_MethodInfo));
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
317
(method == propertyAccess.
GetOwnOrInheritedSetMethod
()) ||
566
var method = indexer.GetOwnOrInheritedGetMethod() ?? indexer.
GetOwnOrInheritedSetMethod
();
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
279
var setMethod = property.
GetOwnOrInheritedSetMethod
();
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
378
var accessor = indexer.GetOwnOrInheritedGetMethod() ?? indexer.
GetOwnOrInheritedSetMethod
();
Operations\CSharpOperationFactory.cs (1)
886
: property.
GetOwnOrInheritedSetMethod
();
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
274
propertyOverriddenByProperty.
GetOwnOrInheritedSetMethod
();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
1108
var ownOrInheritedOverriddenSetMethod = overriddenProperty.
GetOwnOrInheritedSetMethod
();
1136
MethodSymbol ownOrInheritedSetMethod = overridingProperty.
GetOwnOrInheritedSetMethod
();
Symbols\Source\SourcePropertySymbolBase.cs (1)
1253
MethodSymbol overriddenAccessor = this.
GetOwnOrInheritedSetMethod
();
Symbols\SymbolExtensions.cs (1)
440
if (property.
GetOwnOrInheritedSetMethod
()?.Parameters.Last().FlowAnalysisAnnotations is { } setterAnnotations)
Symbols\TypeSymbol.cs (2)
1577
correspondingImplementingAccessor = ((PropertySymbol)implementingPropertyOrEvent).
GetOwnOrInheritedSetMethod
();
1928
implementingProperty.
GetOwnOrInheritedSetMethod
() :