ReadScopes() static private method

static private ReadScopes ( MethodEntry entry, MethodDebugInformation info ) : Mono.Cecil.Cil.ScopeDebugInformation[]
entry Mono.CompilerServices.SymbolWriter.MethodEntry
info Mono.Cecil.Cil.MethodDebugInformation
return Mono.Cecil.Cil.ScopeDebugInformation[]
Esempio n. 1
0
        public void Read(MethodBody body, InstructionMapper mapper)
        {
            MetadataToken method_token = body.Method.MetadataToken;
            MethodEntry   entry        = this.symbol_file.GetMethodByToken(method_token.ToInt32());

            if (entry != null)
            {
                Scope[] scopes = MdbReader.ReadScopes(entry, body, mapper);
                this.ReadLineNumbers(entry, mapper);
                MdbReader.ReadLocalVariables(entry, body, scopes);
            }
        }