ReadLocalVariables() статический приватный Метод

static private ReadLocalVariables ( MethodEntry entry, ScopeDebugInformation scopes ) : void
entry Mono.CompilerServices.SymbolWriter.MethodEntry
scopes Mono.Cecil.Cil.ScopeDebugInformation
Результат void
Пример #1
0
        public void Read(MethodSymbols symbols)
        {
            MethodEntry entry = this.symbol_file.GetMethodByToken(symbols.MethodToken.ToInt32());

            if (entry != null)
            {
                this.ReadLineNumbers(entry, symbols);
                MdbReader.ReadLocalVariables(entry, symbols);
            }
        }
Пример #2
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);
            }
        }