﻿// Decompiled with JetBrains decompiler
// Type: System.Diagnostics.Contracts.ContractArgumentValidatorAttribute
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 255ABCDF-D9D6-4E3D-BAD4-F74D4CE3D7A8
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll

using System;
using System.Diagnostics;
using System.Runtime;

namespace System.Diagnostics.Contracts
{
  /// <summary>
  /// Enables the factoring of legacy if-then-throw code into separate methods for reuse, and provides full control over thrown exceptions and arguments.
  /// </summary>
  [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
  [Conditional("CONTRACTS_FULL")]
  [__DynamicallyInvokable]
  public sealed class ContractArgumentValidatorAttribute : Attribute
  {
    /// <summary>
    /// Initializes a new instance of the <see cref="T:System.Diagnostics.Contracts.ContractArgumentValidatorAttribute"/> class.
    /// </summary>
    [__DynamicallyInvokable]
    [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
    public ContractArgumentValidatorAttribute()
    {
    }
  }
}
