4 overrides of ForbiddenZone
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceLocalSymbol.cs (4)
567internal override SyntaxNode ForbiddenZone => _initializer; 653internal override SyntaxNode ForbiddenZone => null; 704internal override SyntaxNode ForbiddenZone 756internal override SyntaxNode ForbiddenZone => _forbiddenZone;
3 references to ForbiddenZone
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (1)
2032else if ((localSymbol as SourceLocalSymbol)?.IsVar == true && localSymbol.ForbiddenZone?.Contains(node) == true)
FlowAnalysis\DefiniteAssignment.cs (1)
2354if ((localSymbol as SourceLocalSymbol)?.IsVar == true && localSymbol.ForbiddenZone?.Contains(node.Syntax) == true)
FlowAnalysis\NullableWalker.cs (1)
3021if (local is SourceLocalSymbol { IsVar: true } && local.ForbiddenZone?.Contains(node.Syntax) == true)