2 // System.Diagnostics.SymbolStore/IMonoSymbolWriter.cs
5 // Martin Baulig (martin@gnome.org)
7 // This interface is derived from System.Diagnostics.SymbolStore.ISymbolWriter.
9 // (C) 2002 Ximian, Inc. http://www.ximian.com
13 using System.Reflection;
14 using System.Reflection.Emit;
15 using System.Diagnostics.SymbolStore;
16 using System.Collections;
19 namespace Mono.CSharp.Debugger
21 public interface IMonoSymbolWriter : ISymbolWriter
24 public interface ISourceFile
30 ISourceMethod[] Methods {
34 void AddMethod (ISourceMethod method);
37 public interface ISourceMethod
43 void AddLine (ISourceLine line);
45 ISourceBlock[] Blocks {
49 ILocalVariable[] Locals {
53 void AddLocal (ILocalVariable local);
68 MethodInfo MethodInfo {
72 ISourceFile SourceFile {
77 public interface ISourceBlock
79 ISourceMethod SourceMethod {
83 ILocalVariable[] Locals {
87 void AddLocal (ILocalVariable local);
102 public enum SourceOffsetType
110 public interface ISourceLine
112 SourceOffsetType OffsetType {
129 public interface IVariable
156 public interface ILocalVariable : IVariable
159 public interface IMethodParameter : IVariable