Mono.Cecil.Mdb.MdbWriter.WriteScope C# (CSharp) Method

WriteScope() private method

private WriteScope ( ScopeDebugInformation scope, MethodDebugInformation info ) : void
scope Mono.Cecil.Cil.ScopeDebugInformation
info Mono.Cecil.Cil.MethodDebugInformation
return void
        void WriteScope(ScopeDebugInformation scope, MethodDebugInformation info)
        {
            writer.OpenScope (scope.Start.Offset);

            WriteScopeVariables (scope);

            if (scope.HasScopes)
                WriteScopes (scope.Scopes, info);

            writer.CloseScope (scope.End.IsEndOfMethod ? info.code_size : scope.End.Offset);
        }