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