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 void Initialize (string assembly_filename, string filename, string[] args);
26 internal interface ISourceFile
32 ISourceMethod[] Methods {
36 void AddMethod (ISourceMethod method);
39 internal interface ISourceMethod
45 void AddLine (ISourceLine line);
47 ISourceBlock[] Blocks {
51 ILocalVariable[] Locals {
55 void AddLocal (ILocalVariable local);
78 ParameterInfo[] Parameters {
82 MethodBase MethodBase {
86 ISourceFile SourceFile {
91 internal interface ISourceBlock
93 ISourceMethod SourceMethod {
97 ILocalVariable[] Locals {
101 void AddLocal (ILocalVariable local);
103 ISourceBlock[] Blocks {
107 void AddBlock (ISourceBlock block);
122 internal enum SourceOffsetType
130 internal interface ISourceLine
132 SourceOffsetType OffsetType {
149 internal interface ITypeHandle
164 internal interface IVariable
174 ITypeHandle TypeHandle {
178 ISourceMethod Method {
187 internal interface ILocalVariable : IVariable
190 internal interface IMethodParameter : IVariable