Click here to Skip to main content
15,886,422 members
Articles / Programming Languages / C#

Creating a CodeDOM: Modeling the Semantics of Code (Part 2)

Rate me:
Please Sign up or sign in to vote.
5.00/5 (17 votes)
9 Nov 2012CDDL24 min read 41.1K   756   33  
Creating a CodeDOM for C#
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Nova.CodeDOM")]
[assembly: AssemblyDescription("Nova CodeDOM models C# programs with code objects.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Inevitable Software")]
[assembly: AssemblyProduct("Nova.CodeDOM")]
[assembly: AssemblyCopyright("Copyright © 2007-2012 Inevitable Software, all rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components.  If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("b5657426-d41e-478b-905b-a69f5093599b")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.1.*")]

// Use Level1 security rules to avoid problems, such as .NET 4.0 bug that throws exceptions
// if .config files are read from a network drive.
[assembly: SecurityRules(SecurityRuleSet.Level1)]

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 Common Development and Distribution License (CDDL)


Written By
Software Developer (Senior)
United States United States
I've been writing software since the late 70's, currently focusing mainly on C#.NET. I also like to travel around the world, and I own a Chocolate Factory (sadly, none of my employees are oompa loompas).

Comments and Discussions