AssemblyDefaultAliasAttribute.cs 554 B

123456789101112131415161718
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System.Reflection
  5. {
  6. [AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
  7. public sealed class AssemblyDefaultAliasAttribute : Attribute
  8. {
  9. public AssemblyDefaultAliasAttribute(string defaultAlias)
  10. {
  11. DefaultAlias = defaultAlias;
  12. }
  13. public string DefaultAlias { get; }
  14. }
  15. }