1 <Type Name="ContractInvariantMethodAttribute" FullName="System.Diagnostics.Contracts.ContractInvariantMethodAttribute">
2 <TypeSignature Language="C#" Value="public sealed class ContractInvariantMethodAttribute : Attribute" />
4 <AssemblyName>mscorlib</AssemblyName>
5 <AssemblyVersion>4.0.0.0</AssemblyVersion>
8 <BaseTypeName>System.Attribute</BaseTypeName>
13 <AttributeName>System.AttributeUsage(System.AttributeTargets.Method, Inherited=false)</AttributeName>
16 <AttributeName>System.Diagnostics.Conditional("CONTRACTS_FULL")</AttributeName>
20 <summary>Specifies that this method contains Contract invariant conditions for this class.</summary>
21 <remarks>There may be multiple methods with this attribute in one class, their effect is accumulated. The method must take no parameters and return void, and may be any visibility.</remarks>
24 <Member MemberName=".ctor">
25 <MemberSignature Language="C#" Value="public ContractInvariantMethodAttribute ();" />
26 <MemberType>Constructor</MemberType>
28 <AssemblyVersion>4.0.0.0</AssemblyVersion>
32 <summary>Construct a ContractInvariantMethodAttribute.</summary>