1 write to IsVar
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8312this.IsVar = isVar;
12 references to IsVar
Microsoft.CodeAnalysis.CSharp (12)
Binder\DecisionDagBuilder.cs (1)
587if (!declaration.IsVar)
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
1028return declarationPattern.Update(declarationPattern.DeclaredType, declarationPattern.IsVar, 1052var result = new BoundDeclarationPattern(node.Syntax, node.DeclaredType, node.IsVar, node.Variable, node.VariableAccess, isUnionMatching: false, node.InputType, node.NarrowedType)
Binder\UnionMatchingRewriter.cs (1)
165node.Update(node.DeclaredType, node.IsVar, node.Variable, node.VariableAccess,
BoundTree\BoundNode_Source.cs (1)
436if (declarationPattern.IsVar)
FlowAnalysis\AbstractFlowPass.cs (2)
1036case BoundDeclarationPattern { IsVar: false }: 1067case BoundDeclarationPattern { IsVar: true }:
Generated\BoundNodes.xml.Generated.cs (4)
8327if (declaredType != this.DeclaredType || isVar != this.IsVar || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || isUnionMatching != this.IsUnionMatching || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 12547return node.Update(declaredType, node.IsVar, variable, variableAccess, node.IsUnionMatching, inputType, narrowedType); 15238return node.Update(declaredType, node.IsVar, variable, variableAccess, node.IsUnionMatching, inputType, narrowedType); 17481new TreeDumperNode("isVar", node.IsVar, null),
Operations\CSharpOperationFactory.cs (1)
2612bool acceptsNull = boundDeclarationPattern.IsVar;