1 write to IsVar
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
8295this.IsVar = isVar;
13 references to IsVar
Microsoft.CodeAnalysis.CSharp (13)
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
1098return declarationPattern.Update(declarationPattern.DeclaredType, declarationPattern.IsVar, unionMatchingMode: UnionMatchingMode.None, 1122var result = new BoundDeclarationPattern(node.Syntax, node.DeclaredType, node.IsVar, unionMatchingMode: UnionMatchingMode.None, node.Variable, node.VariableAccess, node.InputType, node.NarrowedType)
Binder\DecisionDagBuilder.cs (1)
595if (!declaration.IsVar)
Binder\UnionMatchingRewriter.cs (2)
157node.Update(node.DeclaredType, node.IsVar, unionMatchingMode: UnionMatchingMode.None, node.Variable, node.VariableAccess, 159exclusiveValuePattern: node.Update(node.DeclaredType, node.IsVar, unionMatchingMode: UnionMatchingMode.None, 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)
8312if (declaredType != this.DeclaredType || isVar != this.IsVar || unionMatchingMode != this.UnionMatchingMode || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything)) 12549return node.Update(declaredType, node.IsVar, node.UnionMatchingMode, variable, variableAccess, inputType, narrowedType); 15247return node.Update(declaredType, node.IsVar, node.UnionMatchingMode, variable, variableAccess, inputType, narrowedType); 17495new TreeDumperNode("isVar", node.IsVar, null),
Operations\CSharpOperationFactory.cs (1)
2612bool acceptsNull = boundDeclarationPattern.IsVar;