Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MonoSymbolDocumentWriter.cs « Mono.CSharp.Debugger « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 27c4ea48749d09be2654a567b6f3029712b9d510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
// System.Diagnostics.SymbolStore/MonoSymbolDocumentWriter.cs
//
// Author:
//   Martin Baulig (martin@gnome.org)
//
// This is the default implementation of the
// System.Diagnostics.SymbolStore.ISymbolDocumentWriter interface.
//
// (C) 2002 Ximian, Inc.  http://www.ximian.com
//

using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Diagnostics.SymbolStore;
using System.IO;
	
namespace Mono.CSharp.Debugger
{

	public class MonoSymbolDocumentWriter : ISymbolDocumentWriter
	{
		protected string url;

		//
		// Constructor
		//
		public MonoSymbolDocumentWriter (string url)
		{
			this.url = url;
		}

		public string FileName {
			get {
				return url;
			}
		}

		//
		// Interface ISymbolDocumentWriter
		//

		//
		// MonoSymbolWriter creates a DWARF 2 debugging file and DWARF operates
		// on file names, but has no way to include a whole source file in the
		// symbol file.
		//

		public void SetCheckSum (Guid algorithmId, byte[] checkSum)
		{
			throw new NotSupportedException ();
		}

		public void SetSource (byte[] source)
		{
			throw new NotSupportedException ();
		}
	}
}