1 write to PropertySymbol
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7346
this.
PropertySymbol
= propertySymbol;
52 references to PropertySymbol
Microsoft.CodeAnalysis.CSharp (52)
Binder\Binder.ValueChecks.cs (4)
325
MethodInfo = MethodInfo.Create(propertyAccess.
PropertySymbol
),
765
if (HasSynthesizedBackingField(propertyAccess.
PropertySymbol
, out _))
770
propertyAccess.
PropertySymbol
,
4177
var propertySymbol = 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)
625
if (qualified is not BoundPropertyAccess {
PropertySymbol
: { } propertySymbol } || propertySymbol.GetIsNewExtensionMember())
Binder\Binder_Expressions.cs (2)
5951
hasErrors |= isRhsNestedInitializer && !CheckNestedObjectInitializerPropertySymbol(((BoundPropertyAccess)boundMember).
PropertySymbol
, leftSyntax, diagnostics, hasErrors, ref resultKind);
6186
BoundPropertyAccess propertyAccess => propertyAccess.
PropertySymbol
,
Binder\Binder_Invocation.cs (2)
118
symbol = ((BoundPropertyAccess)boundExpression).
PropertySymbol
;
2332
if (propertyAccess.
PropertySymbol
.GetIsNewExtensionMember())
Binder\Binder_Statements.cs (3)
1610
case BoundPropertyAccess {
PropertySymbol
.SetMethod: { } propSet, ReceiverOpt: var receiver } when propSet.GetIsNewExtensionMember():
1676
propertySymbol = propertyAccess.
PropertySymbol
;
1794
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)
573
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
;
2836
var property = left.
PropertySymbol
;
3745
left.
PropertySymbol
is var property &&
3805
var symbol = propertyAccessOpt.
PropertySymbol
;
FlowAnalysis\DefiniteAssignment.cs (3)
1107
var propSymbol = propAccess.
PropertySymbol
;
1439
var property = propertyAccess.
PropertySymbol
;
2731
var property = node.
PropertySymbol
;
FlowAnalysis\NullableWalker.cs (5)
2082
var propSymbol = propAccess.
PropertySymbol
;
10466
if (left is BoundPropertyAccess {
PropertySymbol
: SourcePropertySymbolBase { SetMethod: null, UsesFieldKeyword: true } property })
10544
BoundPropertyAccess propAccess => propAccess.
PropertySymbol
,
10568
BoundPropertyAccess property => property.
PropertySymbol
.GetFlowAnalysisAnnotations(),
11358
var property = node.
PropertySymbol
;
Generated\BoundNodes.xml.Generated.cs (4)
7363
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))
12107
PropertySymbol propertySymbol = this.VisitPropertySymbol(node.
PropertySymbol
);
14624
PropertySymbol propertySymbol = GetUpdatedSymbol(node, node.
PropertySymbol
);
16904
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)
1095
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)
194
PropertySymbol property = propertyAccess.
PropertySymbol
;
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (4)
247
case BoundPropertyAccess {
PropertySymbol
: { } property }:
728
if (propertyAccess.
PropertySymbol
.RefKind == RefKind.None)
731
return propertyAccess.Update(TransformPropertyOrEventReceiver(propertyAccess.
PropertySymbol
, propertyAccess.ReceiverOpt,
733
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)
1025
return MakePropertyGetAccess(transformedExpression.Syntax, propertyAccess.ReceiverOpt, propertyAccess.
PropertySymbol
, propertyAccess);
Lowering\MethodToClassRewriter.cs (1)
91
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);