1 write to PropertySymbol
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7345
this.
PropertySymbol
= propertySymbol;
51 references to PropertySymbol
Microsoft.CodeAnalysis.CSharp (51)
Binder\Binder.ValueChecks.cs (6)
543
if (HasSynthesizedBackingField(propertyAccess.
PropertySymbol
, out _))
548
propertyAccess.
PropertySymbol
,
3663
MethodInfo.Create(propertyAccess.
PropertySymbol
),
4009
var propertySymbol = propertyAccess.
PropertySymbol
;
4349
MethodInfo.Create(propertyAccess.
PropertySymbol
),
5093
MethodInfo.Create(propertyAccess.
PropertySymbol
),
Binder\Binder_Attributes.cs (1)
821
visitedArgument = new KeyValuePair<String, TypedConstant>(pa.
PropertySymbol
.Name, VisitExpression(assignment.Right, diagnostics, ref attrHasErrors, assignment.HasAnyErrors));
Binder\Binder_Await.cs (1)
379
if (qualified is not BoundPropertyAccess {
PropertySymbol
: { } propertySymbol } || propertySymbol.GetIsNewExtensionMember())
Binder\Binder_Expressions.cs (2)
5942
hasErrors |= isRhsNestedInitializer && !CheckNestedObjectInitializerPropertySymbol(((BoundPropertyAccess)boundMember).
PropertySymbol
, leftSyntax, diagnostics, hasErrors, ref resultKind);
6177
BoundPropertyAccess propertyAccess => propertyAccess.
PropertySymbol
,
Binder\Binder_Invocation.cs (1)
118
symbol = ((BoundPropertyAccess)boundExpression).
PropertySymbol
;
Binder\Binder_Statements.cs (2)
1653
propertySymbol = propertyAccess.
PropertySymbol
;
1771
return AccessingAutoPropertyFromConstructor(propertyAccess.ReceiverOpt, propertyAccess.
PropertySymbol
, fromMember, propertyAccess.AutoPropertyAccessorKind);
BoundTree\BoundExpression.cs (1)
326
get { return this.
PropertySymbol
; }
BoundTree\BoundExpressionExtensions.cs (1)
37
return ((BoundPropertyAccess)node).
PropertySymbol
.RefKind;
FlowAnalysis\AbstractFlowPass.cs (8)
574
var backingField = (access.
PropertySymbol
as SourcePropertySymbolBase)?.BackingField;
2145
var property = left.
PropertySymbol
;
2200
var property = left.
PropertySymbol
;
2219
var property = left.
PropertySymbol
;
2270
var property = node.
PropertySymbol
;
2815
var property = left.
PropertySymbol
;
3724
left.
PropertySymbol
is var property &&
3784
var symbol = propertyAccessOpt.
PropertySymbol
;
FlowAnalysis\DefiniteAssignment.cs (3)
1121
var propSymbol = propAccess.
PropertySymbol
;
1453
var property = propertyAccess.
PropertySymbol
;
2753
var property = node.
PropertySymbol
;
FlowAnalysis\NullableWalker.cs (5)
2061
var propSymbol = propAccess.
PropertySymbol
;
10113
if (left is BoundPropertyAccess {
PropertySymbol
: SourcePropertySymbolBase { SetMethod: null, UsesFieldKeyword: true } property })
10191
BoundPropertyAccess propAccess => propAccess.
PropertySymbol
,
10215
BoundPropertyAccess property => property.
PropertySymbol
.GetFlowAnalysisAnnotations(),
10847
var property = node.
PropertySymbol
;
Generated\BoundNodes.xml.Generated.cs (4)
7362
if (receiverOpt != this.ReceiverOpt || initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(propertySymbol, this.
PropertySymbol
) || autoPropertyAccessorKind != this.AutoPropertyAccessorKind || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
12099
PropertySymbol propertySymbol = this.VisitPropertySymbol(node.
PropertySymbol
);
14629
PropertySymbol propertySymbol = GetUpdatedSymbol(node, node.
PropertySymbol
);
16905
new TreeDumperNode("propertySymbol", node.
PropertySymbol
, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
1103
var receiver = node.
PropertySymbol
.IsStatic ? _bound.Null(ExpressionType) : Visit(node.ReceiverOpt);
1104
var getMethod = node.
PropertySymbol
.GetOwnOrInheritedGetMethod();
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
585
var property = node.
PropertySymbol
;
Lowering\LocalRewriter\LocalRewriter.cs (1)
1090
return ((BoundPropertyAccess)expr).
PropertySymbol
.RefKind != RefKind.None;
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
182
MethodMayMutateReceiver(node.ReceiverOpt, node.
PropertySymbol
.GetMethod);
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
184
PropertySymbol property = propertyAccess.
PropertySymbol
;
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
610
if (propertyAccess.
PropertySymbol
.RefKind == RefKind.None)
613
return propertyAccess.Update(TransformPropertyOrEventReceiver(propertyAccess.
PropertySymbol
, propertyAccess.ReceiverOpt,
615
propertyAccess.InitialBindingReceiverIsSubjectToCloning, propertyAccess.
PropertySymbol
, propertyAccess.AutoPropertyAccessorKind, propertyAccess.ResultKind, propertyAccess.Type);
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.cs (1)
23
return MakePropertyAccess(node.Syntax, rewrittenReceiverOpt, node.
PropertySymbol
, node.ResultKind, node.Type, isLeftOfAssignment, node);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
866
return MakePropertyGetAccess(transformedExpression.Syntax, propertyAccess.ReceiverOpt, propertyAccess.
PropertySymbol
, propertyAccess);
Lowering\MethodToClassRewriter.cs (1)
94
var rewrittenPropertySymbol = VisitPropertySymbol(node.
PropertySymbol
);
Operations\CSharpOperationFactory.cs (4)
600
return CreateReceiverOperation(boundPropertyAccess.ReceiverOpt, boundPropertyAccess.
PropertySymbol
);
614
IOperation? instance = CreateReceiverOperation(boundPropertyAccess.ReceiverOpt, boundPropertyAccess.
PropertySymbol
);
616
IPropertySymbol property = boundPropertyAccess.
PropertySymbol
.GetPublicSymbol();
620
TypeParameterSymbol? constrainedToType = GetConstrainedToType(boundPropertyAccess.
PropertySymbol
, boundPropertyAccess.ReceiverOpt);