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