diff options
author | jfrijters <jfrijters> | 2011-03-10 19:09:59 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-10 19:09:59 +0300 |
commit | bcfaeb2559b4f57df9cf478d6cee07f3be8dcf04 (patch) | |
tree | 4c29322c1796528dd905098f6be4458ccdc4d120 /reflect/Reader | |
parent | 77c8c9afb0bfb94c27e905519b8c92baf23d0273 (diff) |
Added API extension Assembly.__AssemblyFlags to query all the assembly flags. The AssemblyName.Flags property returns only a subset of the flags.
Diffstat (limited to 'reflect/Reader')
-rw-r--r-- | reflect/Reader/AssemblyReader.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/reflect/Reader/AssemblyReader.cs b/reflect/Reader/AssemblyReader.cs index 0905895e..a71698e4 100644 --- a/reflect/Reader/AssemblyReader.cs +++ b/reflect/Reader/AssemblyReader.cs @@ -247,6 +247,11 @@ namespace IKVM.Reflection.Reader return manifestModule.__GetReferencedAssemblies(); } + public override AssemblyNameFlags __AssemblyFlags + { + get { return (AssemblyNameFlags)manifestModule.AssemblyTable.records[0].Flags; } + } + internal override IList<CustomAttributeData> GetCustomAttributesData(Type attributeType) { return manifestModule.GetCustomAttributes(0x20000001, attributeType); |