1 write to IsVar
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8130
this.
IsVar
= isVar;
11 references to IsVar
Microsoft.CodeAnalysis.CSharp (11)
Binder\DecisionDagBuilder.cs (1)
447
if (!declaration.
IsVar
)
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
1019
return declarationPattern.Update(declarationPattern.DeclaredType, declarationPattern.
IsVar
,
1043
var result = new BoundDeclarationPattern(node.Syntax, node.DeclaredType, node.
IsVar
, node.Variable, node.VariableAccess, node.InputType, node.NarrowedType)
BoundTree\BoundNode_Source.cs (1)
436
if (declarationPattern.
IsVar
)
FlowAnalysis\AbstractFlowPass.cs (2)
987
case BoundDeclarationPattern {
IsVar
: false }:
1018
case BoundDeclarationPattern {
IsVar
: true }:
Generated\BoundNodes.xml.Generated.cs (4)
8145
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))
12257
return node.Update(declaredType, node.
IsVar
, variable, variableAccess, inputType, narrowedType);
14914
return node.Update(declaredType, node.
IsVar
, variable, variableAccess, inputType, narrowedType);
17101
new TreeDumperNode("isVar", node.
IsVar
, null),
Operations\CSharpOperationFactory.cs (1)
2537
bool acceptsNull = boundDeclarationPattern.
IsVar
;