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