Move IReflect.cs to shared partition. (dotnet/coreclr#3074)
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>
Thu, 23 Mar 2017 13:54:08 +0000 (06:54 -0700)
committerdotnet-bot <dotnet-bot@microsoft.com>
Thu, 23 Mar 2017 21:10:01 +0000 (21:10 +0000)
 Split AssemblyAttributes.cs into properly named files.

Commit migrated from https://github.com/dotnet/coreclr/commit/08f09d185cdd213ef60702f9d9be1a2a7a123ad8

21 files changed:
src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyAlgorithmIdAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyAttributes.cs [deleted file]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCompanyAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyConfigurationAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCopyrightAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCultureAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDefaultAliasAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDelaySignAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDescriptionAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyFileVersionAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyFlagsAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyInformationalVersionAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyKeyFileAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyKeyNameAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyMetadataAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyProductAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblySignatureKeyAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyTitleAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyTrademarkAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyVersionAttribute.cs [new file with mode: 0644]

index 57bd169..ac63d9a 100644 (file)
     <Compile Include="$(MSBuildThisFileDirectory)System\RankException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AmbiguousMatchException.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\Assembly.cs" />
-    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyAttributes.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyAlgorithmIdAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyCompanyAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyConfigurationAttribute.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyContentType.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyCopyrightAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyCultureAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyDefaultAliasAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyDelaySignAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyDescriptionAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyFileVersionAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyFlagsAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyInformationalVersionAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyKeyFileAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyKeyNameAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyMetadataAttribute.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyNameFlags.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyProductAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblySignatureKeyAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyTitleAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyTrademarkAttribute.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AssemblyVersionAttribute.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\Binder.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\BindingFlags.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\CallingConventions.cs" />
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyAlgorithmIdAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyAlgorithmIdAttribute.cs
new file mode 100644 (file)
index 0000000..fe24f35
--- /dev/null
@@ -0,0 +1,27 @@
+// 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.
+
+using System.Configuration.Assemblies;
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyAlgorithmIdAttribute : Attribute
+    {
+        public AssemblyAlgorithmIdAttribute(AssemblyHashAlgorithm algorithmId)
+        {
+            AlgorithmId = (uint)algorithmId;
+        }
+
+        [CLSCompliant(false)]
+        public AssemblyAlgorithmIdAttribute(uint algorithmId)
+        {
+            AlgorithmId = algorithmId;
+        }
+
+        [CLSCompliant(false)]
+        public uint AlgorithmId { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyAttributes.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyAttributes.cs
deleted file mode 100644 (file)
index 1554403..0000000
+++ /dev/null
@@ -1,259 +0,0 @@
-// 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.
-
-using System.Configuration.Assemblies;
-
-namespace System.Reflection
-{
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyCopyrightAttribute : Attribute
-    {
-        public AssemblyCopyrightAttribute(string copyright)
-        {
-            Copyright = copyright;
-        }
-
-        public string Copyright { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyTrademarkAttribute : Attribute
-    {
-        public AssemblyTrademarkAttribute(string trademark)
-        {
-            Trademark = trademark;
-        }
-
-        public string Trademark { get; }
-    }
-
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyProductAttribute : Attribute
-    {
-        public AssemblyProductAttribute(string product)
-        {
-            Product = product;
-        }
-
-        public string Product { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyCompanyAttribute : Attribute
-    {
-        public AssemblyCompanyAttribute(string company)
-        {
-            Company = company;
-        }
-
-        public string Company { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyDescriptionAttribute : Attribute
-    {
-        public AssemblyDescriptionAttribute(string description)
-        {
-            Description = description;
-        }
-
-        public string Description { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyTitleAttribute : Attribute
-    {
-        public AssemblyTitleAttribute(string title)
-        {
-            Title = title;
-        }
-
-        public string Title { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyConfigurationAttribute : Attribute
-    {
-        public AssemblyConfigurationAttribute(string configuration)
-        {
-            Configuration = configuration;
-        }
-
-        public string Configuration { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyDefaultAliasAttribute : Attribute
-    {
-        public AssemblyDefaultAliasAttribute(string defaultAlias)
-        {
-            DefaultAlias = defaultAlias;
-        }
-
-        public string DefaultAlias { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyInformationalVersionAttribute : Attribute
-    {
-        public AssemblyInformationalVersionAttribute(string informationalVersion)
-        {
-            InformationalVersion = informationalVersion;
-        }
-
-        public string InformationalVersion { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyFileVersionAttribute : Attribute
-    {
-        public AssemblyFileVersionAttribute(string version)
-        {
-            if (version == null)
-                throw new ArgumentNullException(nameof(version));
-            Version = version;
-        }
-
-        public string Version { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public unsafe sealed class AssemblyCultureAttribute : Attribute
-    {
-        public AssemblyCultureAttribute(string culture)
-        {
-            Culture = culture;
-        }
-
-        public string Culture { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public unsafe sealed class AssemblyVersionAttribute : Attribute
-    {
-        public AssemblyVersionAttribute(string version)
-        {
-            Version = version;
-        }
-
-        public string Version { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyKeyFileAttribute : Attribute
-    {
-        public AssemblyKeyFileAttribute(string keyFile)
-        {
-            KeyFile = keyFile;
-        }
-
-        public string KeyFile { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyDelaySignAttribute : Attribute
-    {
-        public AssemblyDelaySignAttribute(bool delaySign)
-        {
-            DelaySign = delaySign;
-        }
-
-        public bool DelaySign { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public unsafe sealed class AssemblyAlgorithmIdAttribute : Attribute
-    {
-        public AssemblyAlgorithmIdAttribute(AssemblyHashAlgorithm algorithmId)
-        {
-            AlgorithmId = (uint)algorithmId;
-        }
-
-        [CLSCompliant(false)]
-        public AssemblyAlgorithmIdAttribute(uint algorithmId)
-        {
-            AlgorithmId = algorithmId;
-        }
-
-        [CLSCompliant(false)]
-        public uint AlgorithmId { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public unsafe sealed class AssemblyFlagsAttribute : Attribute
-    {
-        private AssemblyNameFlags _flags;
-
-        [Obsolete("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
-        [CLSCompliant(false)]
-        public AssemblyFlagsAttribute(uint flags)
-        {
-            _flags = (AssemblyNameFlags)flags;
-        }
-
-        [Obsolete("This property has been deprecated. Please use AssemblyFlags instead. http://go.microsoft.com/fwlink/?linkid=14202")]
-        [CLSCompliant(false)]
-        public uint Flags
-        {
-            get { return (uint)_flags; }
-        }
-
-        public int AssemblyFlags
-        {
-            get { return (int)_flags; }
-        }
-
-        [Obsolete("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
-        public AssemblyFlagsAttribute(int assemblyFlags)
-        {
-            _flags = (AssemblyNameFlags)assemblyFlags;
-        }
-
-        public AssemblyFlagsAttribute(AssemblyNameFlags assemblyFlags)
-        {
-            _flags = assemblyFlags;
-        }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
-    public sealed class AssemblyMetadataAttribute : Attribute
-    {
-        public AssemblyMetadataAttribute(string key, string value)
-        {
-            Key = key;
-            Value = value;
-        }
-
-        public string Key { get; }
-
-        public string Value { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
-    public sealed class AssemblySignatureKeyAttribute : Attribute
-    {
-        public AssemblySignatureKeyAttribute(string publicKey, string countersignature)
-        {
-            PublicKey = publicKey;
-            Countersignature = countersignature;
-        }
-
-        public string PublicKey { get; }
-
-        public string Countersignature { get; }
-    }
-
-    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
-    public sealed class AssemblyKeyNameAttribute : Attribute
-    {
-        public AssemblyKeyNameAttribute(string keyName)
-        {
-            KeyName = keyName;
-        }
-
-        public string KeyName { get; }
-    }
-}
-
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCompanyAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCompanyAttribute.cs
new file mode 100644 (file)
index 0000000..d986db6
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyCompanyAttribute : Attribute
+    {
+        public AssemblyCompanyAttribute(string company)
+        {
+            Company = company;
+        }
+
+        public string Company { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyConfigurationAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyConfigurationAttribute.cs
new file mode 100644 (file)
index 0000000..195c4d0
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyConfigurationAttribute : Attribute
+    {
+        public AssemblyConfigurationAttribute(string configuration)
+        {
+            Configuration = configuration;
+        }
+
+        public string Configuration { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCopyrightAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCopyrightAttribute.cs
new file mode 100644 (file)
index 0000000..e50e199
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyCopyrightAttribute : Attribute
+    {
+        public AssemblyCopyrightAttribute(string copyright)
+        {
+            Copyright = copyright;
+        }
+
+        public string Copyright { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCultureAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyCultureAttribute.cs
new file mode 100644 (file)
index 0000000..e31c6f9
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyCultureAttribute : Attribute
+    {
+        public AssemblyCultureAttribute(string culture)
+        {
+            Culture = culture;
+        }
+
+        public string Culture { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDefaultAliasAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDefaultAliasAttribute.cs
new file mode 100644 (file)
index 0000000..ced35ed
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyDefaultAliasAttribute : Attribute
+    {
+        public AssemblyDefaultAliasAttribute(string defaultAlias)
+        {
+            DefaultAlias = defaultAlias;
+        }
+
+        public string DefaultAlias { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDelaySignAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDelaySignAttribute.cs
new file mode 100644 (file)
index 0000000..eae2cf6
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyDelaySignAttribute : Attribute
+    {
+        public AssemblyDelaySignAttribute(bool delaySign)
+        {
+            DelaySign = delaySign;
+        }
+
+        public bool DelaySign { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDescriptionAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyDescriptionAttribute.cs
new file mode 100644 (file)
index 0000000..50f57c9
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyDescriptionAttribute : Attribute
+    {
+        public AssemblyDescriptionAttribute(string description)
+        {
+            Description = description;
+        }
+
+        public string Description { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyFileVersionAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyFileVersionAttribute.cs
new file mode 100644 (file)
index 0000000..b5face6
--- /dev/null
@@ -0,0 +1,20 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyFileVersionAttribute : Attribute
+    {
+        public AssemblyFileVersionAttribute(string version)
+        {
+            if (version == null)
+                throw new ArgumentNullException(nameof(version));
+            Version = version;
+        }
+
+        public string Version { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyFlagsAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyFlagsAttribute.cs
new file mode 100644 (file)
index 0000000..1034133
--- /dev/null
@@ -0,0 +1,43 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyFlagsAttribute : Attribute
+    {
+        private AssemblyNameFlags _flags;
+
+        [Obsolete("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
+        [CLSCompliant(false)]
+        public AssemblyFlagsAttribute(uint flags)
+        {
+            _flags = (AssemblyNameFlags)flags;
+        }
+
+        [Obsolete("This property has been deprecated. Please use AssemblyFlags instead. http://go.microsoft.com/fwlink/?linkid=14202")]
+        [CLSCompliant(false)]
+        public uint Flags
+        {
+            get { return (uint)_flags; }
+        }
+
+        public int AssemblyFlags
+        {
+            get { return (int)_flags; }
+        }
+
+        [Obsolete("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
+        public AssemblyFlagsAttribute(int assemblyFlags)
+        {
+            _flags = (AssemblyNameFlags)assemblyFlags;
+        }
+
+        public AssemblyFlagsAttribute(AssemblyNameFlags assemblyFlags)
+        {
+            _flags = assemblyFlags;
+        }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyInformationalVersionAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyInformationalVersionAttribute.cs
new file mode 100644 (file)
index 0000000..915b973
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyInformationalVersionAttribute : Attribute
+    {
+        public AssemblyInformationalVersionAttribute(string informationalVersion)
+        {
+            InformationalVersion = informationalVersion;
+        }
+
+        public string InformationalVersion { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyKeyFileAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyKeyFileAttribute.cs
new file mode 100644 (file)
index 0000000..9f7387d
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyKeyFileAttribute : Attribute
+    {
+        public AssemblyKeyFileAttribute(string keyFile)
+        {
+            KeyFile = keyFile;
+        }
+
+        public string KeyFile { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyKeyNameAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyKeyNameAttribute.cs
new file mode 100644 (file)
index 0000000..4cf5175
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyKeyNameAttribute : Attribute
+    {
+        public AssemblyKeyNameAttribute(string keyName)
+        {
+            KeyName = keyName;
+        }
+
+        public string KeyName { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyMetadataAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyMetadataAttribute.cs
new file mode 100644 (file)
index 0000000..de9f635
--- /dev/null
@@ -0,0 +1,21 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
+    public sealed class AssemblyMetadataAttribute : Attribute
+    {
+        public AssemblyMetadataAttribute(string key, string value)
+        {
+            Key = key;
+            Value = value;
+        }
+
+        public string Key { get; }
+
+        public string Value { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyProductAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyProductAttribute.cs
new file mode 100644 (file)
index 0000000..43cb62d
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyProductAttribute : Attribute
+    {
+        public AssemblyProductAttribute(string product)
+        {
+            Product = product;
+        }
+
+        public string Product { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblySignatureKeyAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblySignatureKeyAttribute.cs
new file mode 100644 (file)
index 0000000..e6ec8af
--- /dev/null
@@ -0,0 +1,21 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
+    public sealed class AssemblySignatureKeyAttribute : Attribute
+    {
+        public AssemblySignatureKeyAttribute(string publicKey, string countersignature)
+        {
+            PublicKey = publicKey;
+            Countersignature = countersignature;
+        }
+
+        public string PublicKey { get; }
+
+        public string Countersignature { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyTitleAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyTitleAttribute.cs
new file mode 100644 (file)
index 0000000..26d7a2e
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyTitleAttribute : Attribute
+    {
+        public AssemblyTitleAttribute(string title)
+        {
+            Title = title;
+        }
+
+        public string Title { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyTrademarkAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyTrademarkAttribute.cs
new file mode 100644 (file)
index 0000000..1d3edf5
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyTrademarkAttribute : Attribute
+    {
+        public AssemblyTrademarkAttribute(string trademark)
+        {
+            Trademark = trademark;
+        }
+
+        public string Trademark { get; }
+    }
+}
+
diff --git a/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyVersionAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Reflection/AssemblyVersionAttribute.cs
new file mode 100644 (file)
index 0000000..b3557ba
--- /dev/null
@@ -0,0 +1,18 @@
+// 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.
+
+namespace System.Reflection
+{
+    [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
+    public sealed class AssemblyVersionAttribute : Attribute
+    {
+        public AssemblyVersionAttribute(string version)
+        {
+            Version = version;
+        }
+
+        public string Version { get; }
+    }
+}
+