[xbuild] Implement FileLogger . Fix #676650 .
[mono.git] / mcs / mcs / doc-bootstrap.cs
1 //
2 // doc-bootstrap.cs: Stub support for XML documentation.
3 //
4 // Author:
5 //      Raja R Harinath <rharinath@novell.com>
6 //
7 // Dual licensed under the terms of the MIT X11 or GNU GPL
8 //
9 // Copyright 2004 Novell, Inc.
10 //
11 //
12
13 #if BOOTSTRAP_WITH_OLDLIB || NET_2_1
14
15 using XmlElement = System.Object;
16
17 namespace Mono.CSharp {
18         public class DocUtil
19         {
20                 internal static void GenerateTypeDocComment (TypeContainer t, DeclSpace ds, Report r)
21                 {
22                 }
23
24                 internal static void GenerateDocComment (MemberCore mc, DeclSpace ds, Report r)
25                 {
26                 }
27
28                 public static string GetMethodDocCommentName (MemberCore mc, ParametersCompiled p, DeclSpace ds)
29                 {
30                         return "";
31                 }
32
33                 internal static void OnMethodGenerateDocComment (MethodCore mc, XmlElement el, Report r)
34                 {
35                 }
36
37                 public static void GenerateEnumDocComment (Enum e, DeclSpace ds)
38                 {
39                 }
40         }
41
42         public class Documentation
43         {
44                 public Documentation (string xml_output_filename)
45                 {
46                 }
47
48                 public bool OutputDocComment (string asmfilename, Report r)
49                 {
50                         return true;
51                 }
52
53                 public void GenerateDocComment ()
54                 {
55                 }
56         }
57 }
58
59 #endif