1 write to IsVar
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8291this.IsVar = isVar;
12 references to IsVar
Microsoft.CodeAnalysis.CSharp (12)
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
1098return declarationPattern.Update(declarationPattern.DeclaredType, declarationPattern.IsVar, isUnionMatching: false, 1122var result = new BoundDeclarationPattern(node.Syntax, node.DeclaredType, node.IsVar, isUnionMatching: false, node.Variable, node.VariableAccess, node.InputType, node.NarrowedType)
Binder\DecisionDagBuilder.cs (1)
595if (!declaration.IsVar)
Binder\UnionMatchingRewriter.cs (1)
147node.Update(node.DeclaredType, node.IsVar, isUnionMatching: false, node.Variable, node.VariableAccess,
BoundTree\BoundNode_Source.cs (1)
436if (declarationPattern.IsVar)
FlowAnalysis\AbstractFlowPass.cs (2)
988case BoundDeclarationPattern { IsVar: false }: 1019case BoundDeclarationPattern { IsVar: true }:
Generated\BoundNodes.xml.Generated.cs (4)
8308if (declaredType != this.DeclaredType || isVar != this.IsVar || isUnionMatching != this.IsUnionMatching || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 12541return node.Update(declaredType, node.IsVar, node.IsUnionMatching, variable, variableAccess, inputType, narrowedType); 15237return node.Update(declaredType, node.IsVar, node.IsUnionMatching, variable, variableAccess, inputType, narrowedType); 17483new TreeDumperNode("isVar", node.IsVar, null),
Operations\CSharpOperationFactory.cs (1)
2612bool acceptsNull = boundDeclarationPattern.IsVar;