<Type Name="DecimalConstantAttribute" FullName="System.Runtime.CompilerServices.DecimalConstantAttribute" FullNameSP="System_Runtime_CompilerServices_DecimalConstantAttribute" Maintainer="ecma">
  <TypeSignature Language="ILASM" Value=".class public sealed serializable DecimalConstantAttribute extends System.Attribute" />
  <TypeSignature Language="C#" Value="public sealed class DecimalConstantAttribute : Attribute" />
  <MemberOfLibrary>RuntimeInfrastructure</MemberOfLibrary>
  <AssemblyInfo>
    <AssemblyName>mscorlib</AssemblyName>
    <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
  <Base>
    <BaseTypeName>System.Attribute</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
    </Attribute>
    <Attribute>
      <AttributeName>System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Parameter, Inherited=false)</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <summary>
      <para>Stores the value of a <see cref="T:System.Decimal" /> constant in metadata.</para>
    </summary>
    <remarks>
      <block subset="none" type="note">
        <para>This attribute can be applied to fields
         and parameters.</para>
        <para>For more information on storing constants in metadata, see Partition II of
         the CLI Specification.</para>
        <para>The types in
      <see langword="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.</para>
      </block>
    </remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public DecimalConstantAttribute (byte scale, byte sign, int hi, int mid, int low);" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="scale" Type="System.Byte" />
        <Parameter Name="sign" Type="System.Byte" />
        <Parameter Name="hi" Type="System.Int32" />
        <Parameter Name="mid" Type="System.Int32" />
        <Parameter Name="low" Type="System.Int32" />
      </Parameters>
      <Docs>
        <param name="scale">To be added.</param>
        <param name="sign">To be added.</param>
        <param name="hi">To be added.</param>
        <param name="mid">To be added.</param>
        <param name="low">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
        <since version=".NET 2.0" />
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(unsigned int8 scale, unsigned int8 sign, unsigned int32 hi, unsigned int32 mid, unsigned int32 low)" />
      <MemberSignature Language="C#" Value="public DecimalConstantAttribute (byte scale, byte sign, uint hi, uint mid, uint low);" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="scale" Type="System.Byte" />
        <Parameter Name="sign" Type="System.Byte" />
        <Parameter Name="hi" Type="System.UInt32" />
        <Parameter Name="mid" Type="System.UInt32" />
        <Parameter Name="low" Type="System.UInt32" />
      </Parameters>
      <Docs>
        <param name="scale">A <see cref="T:System.Byte" /> that specifies the number of digits to the right of the decimal point in the value of the new instance. Valid <paramref name="scale" /> values are 0 through 28 inclusive.</param>
        <param name="sign">A <see cref="T:System.Byte" /> that specifies the sign of the value of the new instance. Zero indicates a positive value; any non-zero value indicates a negative value.</param>
        <param name="hi">A <see cref="T:System.UInt32" /> that specifies the high-order 32 bits of the value of the new instance.</param>
        <param name="mid">A <see cref="T:System.UInt32" /> that specifies the middle 32 bits of the value of the new instance.</param>
        <param name="low">A <see cref="T:System.UInt32" /> that specifies the low-order 32 bits of the value of the new instance.</param>
        <param name="sign">To be added.</param>
        <param name="hi">To be added.</param>
        <param name="mid">To be added.</param>
        <param name="low">To be added.</param>
        <summary>
          <para> Constructs a new instance of the <see cref="T:System.Runtime.CompilerServices.DecimalConstantAttribute" /> 
class with the specified value.</para>
        </summary>
        <remarks>
          <para>
            <block subset="none" type="note">For representations of <see cref="T:System.Decimal" /> whose values can have scales exceeding 255, the constructor <see cref="T:System.Runtime.CompilerServices.DecimalConstantAttribute.System.DecimalConstantAttribute" /><see langword="(System.String)" />  must be used instead.</block>
          </para>
        </remarks>
        <exception cref="T:System.ArgumentOutOfRangeException">
          <paramref name="scale" /> &gt; 28.</exception>
      </Docs>
      <Excluded>0</Excluded>
      <Attributes>
        <Attribute>
          <AttributeName>System.CLSCompliant(false)</AttributeName>
        </Attribute>
      </Attributes>
    </Member>
    <Member MemberName="Value">
      <MemberSignature Language="C#" Value="public decimal Value { get; };" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Decimal</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
  <TypeExcluded>0</TypeExcluded>
</Type>
