private static ScopeBounds GetBounds(ExceptionHandlerScope scope)
            {
                ArrayBuilder <Cci.LocalScope> scopes = ArrayBuilder <Cci.LocalScope> .GetInstance();

                ScopeBounds result = scope.GetLocalScopes(scopes);

                scopes.Free();
                return(result);
            }
Пример #2
0
            private static ScopeBounds GetBounds(ExceptionHandlerScope scope)
            {
                var scopes = ArrayBuilder <Cci.LocalScope> .GetInstance();

                var result = scope.GetLocalScopes(scopes, edgeInclusive: false);

                scopes.Free();
                return(result);
            }