1 write to PropertySymbol
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7346this.PropertySymbol = propertySymbol;
50 references to PropertySymbol
Microsoft.CodeAnalysis.CSharp (50)
Binder\Binder.ValueChecks.cs (6)
537if (HasSynthesizedBackingField(propertyAccess.PropertySymbol, out _)) 542propertyAccess.PropertySymbol, 3583MethodInfo.Create(propertyAccess.PropertySymbol), 3929var propertySymbol = propertyAccess.PropertySymbol; 4270MethodInfo.Create(propertyAccess.PropertySymbol), 5008MethodInfo.Create(propertyAccess.PropertySymbol),
Binder\Binder_Attributes.cs (1)
821visitedArgument = new KeyValuePair<String, TypedConstant>(pa.PropertySymbol.Name, VisitExpression(assignment.Right, diagnostics, ref attrHasErrors, assignment.HasAnyErrors));
Binder\Binder_Await.cs (1)
386isCompletedProperty = ((BoundPropertyAccess)qualified).PropertySymbol;
Binder\Binder_Expressions.cs (2)
5888hasErrors |= isRhsNestedInitializer && !CheckNestedObjectInitializerPropertySymbol(((BoundPropertyAccess)boundMember).PropertySymbol, leftSyntax, diagnostics, hasErrors, ref resultKind); 6123BoundPropertyAccess propertyAccess => propertyAccess.PropertySymbol,
Binder\Binder_Invocation.cs (1)
118symbol = ((BoundPropertyAccess)boundExpression).PropertySymbol;
Binder\Binder_Statements.cs (2)
1638propertySymbol = propertyAccess.PropertySymbol; 1756return AccessingAutoPropertyFromConstructor(propertyAccess.ReceiverOpt, propertyAccess.PropertySymbol, fromMember, propertyAccess.AutoPropertyAccessorKind);
BoundTree\BoundExpression.cs (1)
326get { return this.PropertySymbol; }
BoundTree\BoundExpressionExtensions.cs (1)
37return ((BoundPropertyAccess)node).PropertySymbol.RefKind;
FlowAnalysis\AbstractFlowPass.cs (8)
574var backingField = (access.PropertySymbol as SourcePropertySymbolBase)?.BackingField; 2138var property = left.PropertySymbol; 2193var property = left.PropertySymbol; 2212var property = left.PropertySymbol; 2263var property = node.PropertySymbol; 2804var property = left.PropertySymbol; 3708left.PropertySymbol is var property && 3768var symbol = propertyAccessOpt.PropertySymbol;
FlowAnalysis\DefiniteAssignment.cs (3)
1106var propSymbol = propAccess.PropertySymbol; 1438var property = propertyAccess.PropertySymbol; 2726var property = node.PropertySymbol;
FlowAnalysis\NullableWalker.cs (4)
1978var propSymbol = propAccess.PropertySymbol; 10014BoundPropertyAccess propAccess => propAccess.PropertySymbol, 10038BoundPropertyAccess property => property.PropertySymbol.GetFlowAnalysisAnnotations(), 10669var property = node.PropertySymbol;
Generated\BoundNodes.xml.Generated.cs (4)
7363if (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)) 11943return node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, node.PropertySymbol, node.AutoPropertyAccessorKind, node.ResultKind, type); 14449PropertySymbol propertySymbol = GetUpdatedSymbol(node, node.PropertySymbol); 16726new TreeDumperNode("propertySymbol", node.PropertySymbol, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
1103var receiver = node.PropertySymbol.IsStatic ? _bound.Null(ExpressionType) : Visit(node.ReceiverOpt); 1104var getMethod = node.PropertySymbol.GetOwnOrInheritedGetMethod();
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
548var property = node.PropertySymbol;
Lowering\LocalRewriter\LocalRewriter.cs (1)
1090return ((BoundPropertyAccess)expr).PropertySymbol.RefKind != RefKind.None;
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
182MethodMayMutateReceiver(node.ReceiverOpt, node.PropertySymbol.GetMethod);
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
184PropertySymbol property = propertyAccess.PropertySymbol;
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
597if (propertyAccess.PropertySymbol.RefKind == RefKind.None) 600return propertyAccess.Update(TransformPropertyOrEventReceiver(propertyAccess.PropertySymbol, propertyAccess.ReceiverOpt, 602propertyAccess.InitialBindingReceiverIsSubjectToCloning, propertyAccess.PropertySymbol, propertyAccess.AutoPropertyAccessorKind, propertyAccess.ResultKind, propertyAccess.Type);
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.cs (1)
23return MakePropertyAccess(node.Syntax, rewrittenReceiverOpt, node.PropertySymbol, node.ResultKind, node.Type, isLeftOfAssignment, node);
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
866return MakePropertyGetAccess(transformedExpression.Syntax, propertyAccess.ReceiverOpt, propertyAccess.PropertySymbol, propertyAccess);
Lowering\MethodToClassRewriter.cs (1)
224var rewrittenPropertySymbol = VisitPropertySymbol(node.PropertySymbol);
Operations\CSharpOperationFactory.cs (4)
600return CreateReceiverOperation(boundPropertyAccess.ReceiverOpt, boundPropertyAccess.PropertySymbol); 614IOperation? instance = CreateReceiverOperation(boundPropertyAccess.ReceiverOpt, boundPropertyAccess.PropertySymbol); 616IPropertySymbol property = boundPropertyAccess.PropertySymbol.GetPublicSymbol(); 620TypeParameterSymbol? constrainedToType = GetConstrainedToType(boundPropertyAccess.PropertySymbol, boundPropertyAccess.ReceiverOpt);