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