11 references to IsVar
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
1265
syntax: designation, localSymbol: localSymbol, localSymbol.
IsVar
? BoundLocalDeclarationKind.WithInferredType : BoundLocalDeclarationKind.WithExplicitType, constantValueOpt: null, isNullableUnknown: false, type: declType.Type);
FlowAnalysis\NullableWalker.cs (1)
12557
else if (iterationVariable is SourceLocalSymbol {
IsVar
: true })
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenDeconstructTests.cs (1)
3588
if (local.
IsVar
&& local.Type.IsErrorType())
CodeGen\ForeachTest.cs (1)
1689
Assert.True(local.
IsVar
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\RefFieldTests.cs (7)
13546
Assert.True(local.
IsVar
);
13610
Assert.True(local.
IsVar
);
13686
Assert.True(locals[i].
IsVar
);
13757
Assert.True(local.
IsVar
);
15239
Assert.True(local.
IsVar
);
28012
Assert.True(local.
IsVar
);
28072
Assert.True(local.
IsVar
);