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