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
()),
411
? indexerAccess.Indexer.
GetOwnOrInheritedSetMethod
()
1747
var setMethod = propertySymbol.
GetOwnOrInheritedSetMethod
();
Binder\Binder_Attributes.cs (1)
534
var setMethod = propertySymbol.
GetOwnOrInheritedSetMethod
();
FlowAnalysis\AbstractFlowPass.cs (2)
3688
property.
GetOwnOrInheritedSetMethod
() ?? property.GetMethod;
3769
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)
316
(method == propertyAccess.
GetOwnOrInheritedSetMethod
()) ||
529
var method = indexer.GetOwnOrInheritedGetMethod() ?? indexer.
GetOwnOrInheritedSetMethod
();
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
279
var setMethod = property.
GetOwnOrInheritedSetMethod
();
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
365
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)
1107
var ownOrInheritedOverriddenSetMethod = overriddenProperty.
GetOwnOrInheritedSetMethod
();
1135
MethodSymbol ownOrInheritedSetMethod = overridingProperty.
GetOwnOrInheritedSetMethod
();
Symbols\Source\SourcePropertySymbolBase.cs (1)
1234
MethodSymbol overriddenAccessor = this.
GetOwnOrInheritedSetMethod
();
Symbols\SymbolExtensions.cs (1)
453
if (property.
GetOwnOrInheritedSetMethod
()?.Parameters.Last().FlowAnalysisAnnotations is { } setterAnnotations)
Symbols\TypeSymbol.cs (2)
1567
correspondingImplementingAccessor = ((PropertySymbol)implementingPropertyOrEvent).
GetOwnOrInheritedSetMethod
();
1918
implementingProperty.
GetOwnOrInheritedSetMethod
() :