1 write to Variable
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8104this.Variable = variable;
21 references to Variable
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (1)
412RoslynDebug.Assert(declaration.Variable == null);
Binder\RefSafetyAnalysis.cs (1)
683if (pattern.Variable is LocalSymbol local)
FlowAnalysis\DataFlowsOutWalker.cs (1)
124return ((BoundObjectPattern)node).Variable as LocalSymbol;
FlowAnalysis\DefiniteAssignment.cs (1)
1544var symbol = pattern.Variable as LocalSymbol;
FlowAnalysis\VariablesDeclaredWalker.cs (2)
79if (p.Variable?.Kind == SymbolKind.Local) 83_variablesDeclared.Add(p.Variable);
Generated\BoundNodes.xml.Generated.cs (12)
8138if (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)) 8179if (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)) 8223if (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)) 12242Symbol? variable = this.VisitSymbol(node.Variable); 12252Symbol? variable = this.VisitSymbol(node.Variable); 12263Symbol? variable = this.VisitSymbol(node.Variable); 14913Symbol? variable = GetUpdatedSymbol(node, node.Variable); 14924Symbol? variable = GetUpdatedSymbol(node, node.Variable); 14936Symbol? variable = GetUpdatedSymbol(node, node.Variable); 17114new TreeDumperNode("variable", node.Variable, null), 17128new TreeDumperNode("variable", node.Variable, null), 17143new TreeDumperNode("variable", node.Variable, null),
Operations\CSharpOperationFactory.cs (3)
2538ISymbol? variable = boundDeclarationPattern.Variable.GetPublicSymbol(); 2567boundRecursivePattern.Variable.GetPublicSymbol(), 2624declaredSymbol: boundNode.Variable.GetPublicSymbol(),