NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Global Attributes

Most attributes are attached to specific language elements, such as classes or methods; however, some attributes are global—they apply to an entire assembly or module. Assembly-level attributes are specified as follows:

[assembly: attribute-list]

Module-level attributes are specified as follows:

[module: attribute-list]

where

attribute-list
A list of applicable global attributes.

Global attributes appear in the source code after any top-level using directives and before any type or namespace declarations. Global attributes can appear in multiple source files in a single compilation.

Note   Assembly-level attributes can be specified only if an assembly manifest is being created.

The following NGWS attributes let you modify the information in an assembly:

If you do not want an assembly created for a compilation, use the compiler option /target:module.

Example

[assembly: System.CLSCompliant(true)]

See Also

Introduction to Attributes | Using Attributes | Creating Custom Attributes | Retrieving Attribute Information