1 write to MemberSymbol
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6752this.MemberSymbol = memberSymbol;
28 references to MemberSymbol
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder.ValueChecks.cs (1)
4603result = left.MemberSymbol switch
Binder\Binder_Expressions.cs (1)
6121BoundObjectInitializerMember member => member.MemberSymbol,
BoundTree\BoundExpression.cs (1)
638return this.MemberSymbol;
BoundTree\BoundExpressionExtensions.cs (1)
68return member.MemberSymbol switch
FlowAnalysis\AbstractFlowPass.cs (2)
3585if (node.MemberSymbol?.Kind == SymbolKind.Property) 3587var property = (PropertySymbol)node.MemberSymbol;
FlowAnalysis\DefiniteAssignment.cs (1)
1636if (_sourceAssembly is not null && member.MemberSymbol is FieldSymbol field)
FlowAnalysis\NullableWalker.cs (1)
4192var symbol = objectInitializer.MemberSymbol;
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
267if (node.Left is BoundObjectInitializerMember { MemberSymbol: null })
Generated\BoundNodes.xml.Generated.cs (4)
6781if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(memberSymbol, this.MemberSymbol) || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || expanded != this.Expanded || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || resultKind != this.ResultKind || accessorKind != this.AccessorKind || !TypeSymbol.Equals(receiverType, this.ReceiverType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11842return node.Update(node.MemberSymbol, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.AccessorKind, receiverType, type); 14167Symbol? memberSymbol = GetUpdatedSymbol(node, node.MemberSymbol); 16561new TreeDumperNode("memberSymbol", node.MemberSymbol, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
951var sym = ((BoundObjectInitializerMember)a.Left).MemberSymbol;
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
442if (node.MemberSymbol is PropertySymbol property)
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (2)
209Debug.Assert(left.MemberSymbol is not null); 217var property = left.MemberSymbol;
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (7)
214if (node.MemberSymbol is null) 221var rewrittenArguments = VisitArgumentsAndCaptureReceiverIfNeeded(ref rewrittenReceiver, captureReceiverMode: ReceiverCaptureMode.Default, node.Arguments, node.MemberSymbol, node.ArgsToParamsOpt, node.ArgumentRefKindsOpt, 245return node.Update(node.MemberSymbol, rewrittenArguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.AccessorKind, node.ReceiverType, node.Type); 307memberInit.MemberSymbol?.GetParameterRefKinds() ?? default(ImmutableArray<RefKind>), 312memberInit.MemberSymbol, 325if (memberInit.MemberSymbol == null && memberInit.Type.IsDynamic()) 662var memberSymbol = rewrittenLeft.MemberSymbol;
Lowering\MethodToClassRewriter.cs (1)
701var member = node.MemberSymbol;
Operations\CSharpOperationFactory.cs (2)
602return boundObjectInitializerMember.MemberSymbol?.IsStatic == true ? 851Symbol? memberSymbol = boundObjectInitializerMember.MemberSymbol;
Operations\CSharpOperationFactory_Methods.cs (1)
201var property = (PropertySymbol?)boundObjectInitializerMember.MemberSymbol;