1 write to VariableAccess
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8094this.VariableAccess = variableAccess;
27 references to VariableAccess
Microsoft.CodeAnalysis.CSharp (27)
Binder\DecisionDagBuilder.cs (3)
404BoundExpression? variableAccess = declaration.VariableAccess; 597if (recursive.VariableAccess != null) 600bindings.Add(new BoundPatternBinding(recursive.VariableAccess, input));
Binder\DecisionDagBuilder_ListPatterns.cs (2)
87if (list.VariableAccess is not null) 89bindings.Add(new BoundPatternBinding(list.VariableAccess, input));
FlowAnalysis\DefiniteAssignment.cs (1)
1553if (written) NoteWrite(pattern.VariableAccess, value, read: read, isRef: isRef);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
354Visit(node.VariableAccess);
FlowAnalysis\NullableWalker_Patterns.cs (3)
59Visit(node.VariableAccess); 71Visit(node.VariableAccess); 90Visit(node.VariableAccess);
Generated\BoundNodes.xml.Generated.cs (15)
8123if (declaredType != this.DeclaredType || isVar != this.IsVar || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8160if (declaredType != this.DeclaredType || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(deconstructMethod, this.DeconstructMethod) || deconstruction != this.Deconstruction || properties != this.Properties || isExplicitNotNullTest != this.IsExplicitNotNullTest || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 8204if (subpatterns != this.Subpatterns || hasSlice != this.HasSlice || lengthAccess != this.LengthAccess || indexerAccess != this.IndexerAccess || receiverPlaceholder != this.ReceiverPlaceholder || argumentPlaceholder != this.ArgumentPlaceholder || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 10690this.Visit(node.VariableAccess); 10698this.Visit(node.VariableAccess); 10704this.Visit(node.VariableAccess); 12069BoundExpression? variableAccess = (BoundExpression?)this.Visit(node.VariableAccess); 12079BoundExpression? variableAccess = (BoundExpression?)this.Visit(node.VariableAccess); 12091BoundExpression? variableAccess = (BoundExpression?)this.Visit(node.VariableAccess); 14731BoundExpression? variableAccess = (BoundExpression?)this.Visit(node.VariableAccess); 14744BoundExpression? variableAccess = (BoundExpression?)this.Visit(node.VariableAccess); 14758BoundExpression? variableAccess = (BoundExpression?)this.Visit(node.VariableAccess); 16928new TreeDumperNode("variableAccess", null, new TreeDumperNode[] { Visit(node.VariableAccess, null) }), 16942new TreeDumperNode("variableAccess", null, new TreeDumperNode[] { Visit(node.VariableAccess, null) }), 16957new TreeDumperNode("variableAccess", null, new TreeDumperNode[] { Visit(node.VariableAccess, null) }),
Operations\CSharpOperationFactory.cs (2)
2539if (variable == null && boundDeclarationPattern.VariableAccess?.Kind == BoundKind.DiscardExpression) 2541variable = ((BoundDiscardExpression)boundDeclarationPattern.VariableAccess).ExpressionSymbol.GetPublicSymbol();