AssemblyFileVersionAttribute.cs 656 B

123456789101112131415161718192021222324
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the Apache 2.0 License.
  3. // See the LICENSE file in the project root for more information.
  4. #if NO_ASSEMBLYFILEVERSIONATTRIBUTE
  5. namespace System.Reflection
  6. {
  7. [AttributeUsage(AttributeTargets.Assembly)]
  8. public class AssemblyFileVersionAttribute : Attribute
  9. {
  10. private readonly string _version;
  11. public AssemblyFileVersionAttribute(string version)
  12. {
  13. _version = version;
  14. }
  15. public string Version
  16. {
  17. get { return _version; }
  18. }
  19. }
  20. }
  21. #endif