Mono.Debugger.Backend.Mono.MonoSymbolFile.MonoMethod.read_scope C# (CSharp) Method

read_scope() private method

private read_scope ( ScopeInfo scope ) : void
scope Mono.Debugger.Languages.Mono.ScopeInfo
return void
            void read_scope(ScopeInfo scope)
            {
                C.AnonymousScopeEntry entry = file.File.GetAnonymousScope (scope.ID);
                foreach (C.CapturedScope captured in entry.CapturedScopes) {
                    if (scopes.ContainsKey (captured.Scope))
                        continue;

                    CapturedVariable pvar = new CapturedVariable (
                        scope, this, captured.CapturedName, captured.CapturedName);
                    ScopeInfo child = new ScopeInfo (captured.Scope, pvar);

                    scopes.Add (captured.Scope, child);
                    read_scope (child);
                }
            }