1 write to Variable
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8094
this.
Variable
= variable;
21 references to Variable
Microsoft.CodeAnalysis.CSharp (21)
Binder\DecisionDagBuilder.cs (1)
412
RoslynDebug.Assert(declaration.
Variable
== null);
Binder\RefSafetyAnalysis.cs (1)
619
if (pattern.
Variable
is LocalSymbol local)
FlowAnalysis\DataFlowsOutWalker.cs (1)
124
return ((BoundObjectPattern)node).
Variable
as LocalSymbol;
FlowAnalysis\DefiniteAssignment.cs (1)
1544
var symbol = pattern.
Variable
as LocalSymbol;
FlowAnalysis\VariablesDeclaredWalker.cs (2)
78
if (p.
Variable
?.Kind == SymbolKind.Local)
82
_variablesDeclared.Add(p.
Variable
);
Generated\BoundNodes.xml.Generated.cs (12)
8124
if (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))
8161
if (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))
8205
if (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))
12073
return node.Update(declaredType, node.IsVar, node.
Variable
, variableAccess, inputType, narrowedType);
12083
return node.Update(declaredType, node.DeconstructMethod, deconstruction, properties, node.IsExplicitNotNullTest, node.
Variable
, variableAccess, inputType, narrowedType);
12095
return node.Update(subpatterns, node.HasSlice, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, node.
Variable
, variableAccess, inputType, narrowedType);
14728
Symbol? variable = GetUpdatedSymbol(node, node.
Variable
);
14739
Symbol? variable = GetUpdatedSymbol(node, node.
Variable
);
14751
Symbol? variable = GetUpdatedSymbol(node, node.
Variable
);
16928
new TreeDumperNode("variable", node.
Variable
, null),
16942
new TreeDumperNode("variable", node.
Variable
, null),
16957
new TreeDumperNode("variable", node.
Variable
, null),
Operations\CSharpOperationFactory.cs (3)
2538
ISymbol? variable = boundDeclarationPattern.
Variable
.GetPublicSymbol();
2567
boundRecursivePattern.
Variable
.GetPublicSymbol(),
2624
declaredSymbol: boundNode.
Variable
.GetPublicSymbol(),