5 references to IsVar
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
2035
else if ((localSymbol as SourceLocalSymbol)?.
IsVar
== true && localSymbol.ForbiddenZone?.Contains(node) == true)
Binder\Binder_Patterns.cs (1)
900
syntax: designation, localSymbol: localSymbol, localSymbol.
IsVar
? BoundLocalDeclarationKind.WithInferredType : BoundLocalDeclarationKind.WithExplicitType, constantValueOpt: null, isNullableUnknown: false, type: declType.Type);
FlowAnalysis\DefiniteAssignment.cs (1)
2354
if ((localSymbol as SourceLocalSymbol)?.
IsVar
== true && localSymbol.ForbiddenZone?.Contains(node.Syntax) == true)
FlowAnalysis\NullableWalker.cs (2)
3021
if (local is SourceLocalSymbol {
IsVar
: true } && local.ForbiddenZone?.Contains(node.Syntax) == true)
11110
else if (iterationVariable is SourceLocalSymbol {
IsVar
: true })