6 overrides of ScopeDesignatorOpt
Microsoft.CodeAnalysis.CSharp (6)
CodeGen\Optimizer.cs (1)
2354internal override SyntaxNode ScopeDesignatorOpt
FlowAnalysis\NullableWalker.PlaceholderLocal.cs (1)
48internal override SyntaxNode ScopeDesignatorOpt => null;
Symbols\Source\SourceLocalSymbol.cs (1)
84internal override SyntaxNode ScopeDesignatorOpt
Symbols\Synthesized\SynthesizedLocal.cs (1)
118internal sealed override SyntaxNode ScopeDesignatorOpt
Symbols\Synthesized\TypeSubstitutedLocalSymbol.cs (1)
47internal override SyntaxNode ScopeDesignatorOpt
Symbols\UpdatedContainingSymbolLocal.cs (1)
86internal override SyntaxNode ScopeDesignatorOpt => _underlyingLocal.ScopeDesignatorOpt;
9 references to ScopeDesignatorOpt
Microsoft.CodeAnalysis.CSharp (9)
CodeGen\EmitStatement.cs (3)
802(local.ScopeDesignatorOpt?.Kind() == SyntaxKind.SwitchSection || local.ScopeDesignatorOpt?.Kind() == SyntaxKind.SwitchExpressionArm)); 1832(local.ScopeDesignatorOpt?.Kind() is SyntaxKind.SwitchSection or SyntaxKind.SwitchExpressionArm)))
Lowering\ClosureConversion\LambdaCapturedVariable.cs (2)
82(local.ScopeDesignatorOpt?.Kind() == SyntaxKind.SwitchSection || 83local.ScopeDesignatorOpt?.Kind() == SyntaxKind.SwitchExpressionArm))
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (3)
326if ((local.SynthesizedKind == SynthesizedLocalKind.UserDefined && local.ScopeDesignatorOpt?.Kind() != SyntaxKind.SwitchSection) || 739(local.ScopeDesignatorOpt?.Kind() == SyntaxKind.SwitchSection || 740local.ScopeDesignatorOpt?.Kind() == SyntaxKind.SwitchExpressionArm));
Symbols\Synthesized\TypeSubstitutedLocalSymbol.cs (1)
49get { return _originalVariable.ScopeDesignatorOpt; }