Click here to Skip to main content
15,891,184 members
Articles / Programming Languages / C#

C# CodeDOM parser

Rate me:
Please Sign up or sign in to vote.
4.56/5 (14 votes)
27 Jun 20026 min read 248K   4.3K   70  
This is a utility which parses C# source code and creates the CODEDOM tree of the code.
using System;
using System.Collections;

namespace testParser
{
	#region Blabla
	using System.IO;
	/// <summary>
	/// Summary description for Class2.
	/// </summary>
	abstract public class Class2: object, System.Collections.ICollection
	{
		
		
		
		private int i;
		
		protected internal int MethodA(int i, char j)
		{
		}

		private  void MethodB(System.Xml.XmlTextReader r, object[] o) 
		{
		}
		


		public abstract object MethodC();
		

		protected void MethodD(out char c, ref string g, int j, params object[] p)
		{
		}

		public static int MethodE(int i, char c)
		{
		}

		public virtual void MethodF(int num, out string s)
		{
		}

		public override int MethodG()
		{
		}

		public new int MethodH(object o)
		{}

		public new virtual int MethodI(object o)
		{}
		
		
	}

	
	public interface Int1: System.Collections.IList
	{
	}

	public struct Struct1:  System.Collections.IList, System.Xml.IXmlLineInfo
	{
	}
	public enum Enum1: int
	{
	}

	public delegate string Deleg1(out int i, char[] j);
#endregion	
}

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Czech Republic Czech Republic
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions