diff options
Diffstat (limited to 'src/mscorlib/shared/System/Resources/SatelliteContractVersionAttribute.cs')
-rw-r--r-- | src/mscorlib/shared/System/Resources/SatelliteContractVersionAttribute.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mscorlib/shared/System/Resources/SatelliteContractVersionAttribute.cs b/src/mscorlib/shared/System/Resources/SatelliteContractVersionAttribute.cs new file mode 100644 index 0000000000..0707447677 --- /dev/null +++ b/src/mscorlib/shared/System/Resources/SatelliteContractVersionAttribute.cs @@ -0,0 +1,31 @@ +// 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 +{ + [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)] + public sealed class SatelliteContractVersionAttribute : Attribute + { + public SatelliteContractVersionAttribute(String version) + { + if (version == null) + throw new ArgumentNullException(nameof(version)); + Version = version; + } + + public String Version { get; } + } +} |