2003-07-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / TypeLibVersionAttribute.cs
1 //
2 // System.Runtime.InteropServices.TypeLibVersionAttribute.cs
3 //
4 // Author:
5 //   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
6 //
7 // (C) 2003 Andreas Nahr
8 //
9
10 #if (NET_1_1)
11
12 namespace System.Runtime.InteropServices
13 {
14         [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
15         public sealed class TypeLibVersionAttribute : Attribute
16         {
17                 private int major;
18                 private int minor;
19
20                 public TypeLibVersionAttribute (int major, int minor)
21                 {
22                         this.major = major;
23                         this.minor = minor;
24                 }
25
26                 public int MajorVersion {
27                         get { return major; }
28                 }
29
30                 public int MinorVersion {
31                         get { return minor; }
32                 }
33         }
34 }
35
36 #endif