summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Resources/SatelliteContractVersionAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Resources/SatelliteContractVersionAttribute.cs')
-rw-r--r--src/mscorlib/src/System/Resources/SatelliteContractVersionAttribute.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Resources/SatelliteContractVersionAttribute.cs b/src/mscorlib/src/System/Resources/SatelliteContractVersionAttribute.cs
new file mode 100644
index 0000000000..f72e810227
--- /dev/null
+++ b/src/mscorlib/src/System/Resources/SatelliteContractVersionAttribute.cs
@@ -0,0 +1,39 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*============================================================
+**
+**
+**
+**
+**
+** Purpose: Specifies which version of a satellite assembly
+** the ResourceManager should ask for.
+**
+**
+===========================================================*/
+
+namespace System.Resources {
+ using System;
+ using System.Diagnostics.Contracts;
+
+ [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=false)]
+[System.Runtime.InteropServices.ComVisible(true)]
+ public sealed class SatelliteContractVersionAttribute : Attribute
+ {
+ private String _version;
+
+ public SatelliteContractVersionAttribute(String version)
+ {
+ if (version == null)
+ throw new ArgumentNullException("version");
+ Contract.EndContractBlock();
+ _version = version;
+ }
+
+ public String Version {
+ get { return _version; }
+ }
+ }
+}