2 types derived from ScopeInfo
Microsoft.CodeAnalysis (2)
CodeGen\LocalScopeManager.cs (2)
312
internal class LocalScopeInfo :
ScopeInfo
676
internal sealed class ExceptionHandlerContainerScope :
ScopeInfo
18 references to ScopeInfo
Microsoft.CodeAnalysis (18)
CodeGen\ILBuilder.cs (2)
389
ScopeInfo
destHandlerScope = null;
1122
var
scope = _scopeManager.OpenScope(scopeType, exceptionType);
CodeGen\LocalScopeManager.cs (16)
25
private readonly Stack<
ScopeInfo
> _scopes;
31
_scopes = new Stack<
ScopeInfo
>(1);
35
private
ScopeInfo
CurrentScope => _scopes.Peek();
37
internal
ScopeInfo
OpenScope(ScopeType scopeType, Cci.ITypeReference exceptionType)
39
var
scope = CurrentScope.OpenScope(scopeType, exceptionType, _enclosingExceptionHandler);
63
var
scope = _scopes.Pop();
78
foreach (
var
scope in _scopes)
176
foreach (
var
s in _scopes)
204
public virtual
ScopeInfo
OpenScope(ScopeType scopeType,
259
where TScopeInfo :
ScopeInfo
283
where TScopeInfo :
ScopeInfo
320
private ImmutableArray<
ScopeInfo
>.Builder _nestedScopes;
325
public override
ScopeInfo
OpenScope(
330
var
scope = base.OpenScope(scopeType, exceptionType, currentExceptionHandler);
333
_nestedScopes = ImmutableArray.CreateBuilder<
ScopeInfo
>(1);
695
public override
ScopeInfo
OpenScope(ScopeType scopeType,