Merge pull request #5668 from kumpera/wasm-work-p4
[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 // Copyright 2011 Xamarin Inc
11 //
12 //
13
14 #if BOOTSTRAP_WITH_OLDLIB || MOBILE
15
16 using XmlElement = System.Object;
17
18 namespace Mono.CSharp {
19         public class DocUtil
20         {
21                 internal static void GenerateTypeDocComment (TypeContainer t, DeclSpace ds, Report r)
22                 {
23                 }
24
25                 internal static void GenerateDocComment (MemberCore mc, DeclSpace ds, Report r)
26                 {
27                 }
28
29                 public static string GetMethodDocCommentName (MemberCore mc, ParametersCompiled p, DeclSpace ds)
30                 {
31                         return "";
32                 }
33
34                 internal static void OnMethodGenerateDocComment (MethodCore mc, XmlElement el, Report r)
35                 {
36                 }
37
38                 public static void GenerateEnumDocComment (Enum e, DeclSpace ds)
39                 {
40                 }
41         }
42
43         public class Documentation
44         {
45                 public Documentation (string xml_output_filename)
46                 {
47                 }
48
49                 public bool OutputDocComment (string asmfilename, Report r)
50                 {
51                         return true;
52                 }
53
54                 public void GenerateDocComment ()
55                 {
56                 }
57         }
58 }
59
60 #endif