11 references to IsVar
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
912
syntax: designation, localSymbol: localSymbol, localSymbol.
IsVar
? BoundLocalDeclarationKind.WithInferredType : BoundLocalDeclarationKind.WithExplicitType, constantValueOpt: null, isNullableUnknown: false, type: declType.Type);
FlowAnalysis\NullableWalker.cs (1)
11957
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)
13511
Assert.True(local.
IsVar
);
13575
Assert.True(local.
IsVar
);
13651
Assert.True(locals[i].
IsVar
);
13722
Assert.True(local.
IsVar
);
15204
Assert.True(local.
IsVar
);
28025
Assert.True(local.
IsVar
);
28085
Assert.True(local.
IsVar
);