Click here to Skip to main content
15,884,099 members
Articles / Programming Languages / C#

How does it work in Mono's C# compiler?

Rate me:
Please Sign up or sign in to vote.
4.99/5 (54 votes)
30 Apr 2012CPOL19 min read 142.2K   1.1K   77  
The Mono is an Open Source free programming language project. It has the implementation of Microsoft’s .NET Framework based on the ECMA standards for C# language and Common Language Runtime (CLR). In this article, I will explore how the Mono C# compiler works.
//
// doc-bootstrap.cs: Stub support for XML documentation.
//
// Author:
//	Raja R Harinath <rharinath@novell.com>
//
// Dual licensed under the terms of the MIT X11 or GNU GPL
//
// Copyright 2004 Novell, Inc.
//
//

#if BOOTSTRAP_WITH_OLDLIB || NET_2_1

using XmlElement = System.Object;

namespace Mono.CSharp {
	public class DocUtil
	{
		internal static void GenerateTypeDocComment (TypeContainer t, DeclSpace ds, Report r)
		{
		}

		internal static void GenerateDocComment (MemberCore mc, DeclSpace ds, Report r)
		{
		}

		public static string GetMethodDocCommentName (MemberCore mc, ParametersCompiled p, DeclSpace ds)
		{
			return "";
		}

		internal static void OnMethodGenerateDocComment (MethodCore mc, XmlElement el, Report r)
		{
		}

		public static void GenerateEnumDocComment (Enum e, DeclSpace ds)
		{
		}
	}

	public class Documentation
	{
		public Documentation (string xml_output_filename)
		{
		}

		public bool OutputDocComment (string asmfilename, Report r)
		{
			return true;
		}

		public void GenerateDocComment ()
		{
		}
	}
}

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Australia Australia

Comments and Discussions