コード例 #1
0
 private void PrintScopes(ILocalScope scope)
 {
     sourceEmitterOutput.Write(string.Format("IL_{0} ... IL_{1} ", scope.Offset.ToString("x4"), (scope.Offset + scope.Length).ToString("x4")), true);
     sourceEmitterOutput.WriteLine("{");
     sourceEmitterOutput.IncreaseIndent();
     PrintConstants(pdbReader.GetConstantsInScope(scope));
     PrintLocals(pdbReader.GetVariablesInScope(scope));
     sourceEmitterOutput.DecreaseIndent();
     sourceEmitterOutput.WriteLine("}", true);
 }