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
23 ISourceMethod[] Methods {
27 ISourceFile[] Sources {
31 void Initialize (string filename, string[] args);
34 public interface ISourceFile
40 ISourceMethod[] Methods {
44 void AddMethod (ISourceMethod method);
47 public interface ISourceMethod
53 void AddLine (ISourceLine line);
55 ISourceBlock[] Blocks {
59 ILocalVariable[] Locals {
63 void AddLocal (ILocalVariable local);
86 ParameterInfo[] Parameters {
90 MethodBase MethodBase {
94 ISourceFile SourceFile {
99 public interface ISourceBlock
101 ISourceMethod SourceMethod {
105 ILocalVariable[] Locals {
109 void AddLocal (ILocalVariable local);
111 ISourceBlock[] Blocks {
115 void AddBlock (ISourceBlock block);
130 public enum SourceOffsetType
138 public interface ISourceLine
140 SourceOffsetType OffsetType {
157 public interface ITypeHandle
172 public interface IVariable
182 ITypeHandle TypeHandle {
186 ISourceMethod Method {
195 public interface ILocalVariable : IVariable
198 public interface IMethodParameter : IVariable