Mono Class Library: System.Runtime.CompilerServices Namespace

System.Runtime.CompilerServices.DecimalConstantAttribute Class

Stores the value of a decimal constant in metadata. [Edit]

See Also: DecimalConstantAttribute Members

System.Object
     System.Attribute
          System.Runtime.CompilerServices.DecimalConstantAttribute

[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.All, Inherited=false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class DecimalConstantAttribute : Attribute

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note:

This attribute can be applied to fields and parameters.

For more information on storing constants in metadata, see Partition II of the CLI Specification.

The types in System.Runtime.CompilerServices are intended primarily for use by compilers, not application programmers. They allow compilers to easily implement certain language features that are not directly visible to programmers.

[Edit]

Requirements

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0