Update Reference Sources to .NET Framework 4.6.1
[mono.git] / mcs / class / referencesource / mscorlib / system / resources / satellitecontractversionattribute.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 /*============================================================
7 **
8 ** Class:  SatelliteContractVersionAttribute
9 ** 
10 ** <OWNER>[....]</OWNER>
11 **
12 **
13 ** Purpose: Specifies which version of a satellite assembly 
14 **          the ResourceManager should ask for.
15 **
16 **
17 ===========================================================*/
18
19 namespace System.Resources {
20     using System;
21     using System.Diagnostics.Contracts;
22     
23     [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=false)]  
24 [System.Runtime.InteropServices.ComVisible(true)]
25     public sealed class SatelliteContractVersionAttribute : Attribute 
26     {
27         private String _version;
28
29         public SatelliteContractVersionAttribute(String version)
30         {
31             if (version == null)
32                 throw new ArgumentNullException("version");
33             Contract.EndContractBlock();
34             _version = version;
35         }
36
37         public String Version {
38             get { return _version; }
39         }
40     }
41 }