diff options
author | jfrijters <jfrijters> | 2011-03-10 13:47:37 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-03-10 13:47:37 +0300 |
commit | 8675001bd54f3f6c8d966566e05f997036deeab2 (patch) | |
tree | 1e581497c14404c10bd64071badc1f442142137c /reflect/ManifestResourceInfo.cs | |
parent | f443b36919f129acd8d2b14503a4000ca612530c (diff) |
Added API extension to expose resource attributes.
Diffstat (limited to 'reflect/ManifestResourceInfo.cs')
-rw-r--r-- | reflect/ManifestResourceInfo.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/reflect/ManifestResourceInfo.cs b/reflect/ManifestResourceInfo.cs index 2d8cea1a..cfd7b80d 100644 --- a/reflect/ManifestResourceInfo.cs +++ b/reflect/ManifestResourceInfo.cs @@ -38,6 +38,11 @@ namespace IKVM.Reflection this.index = index; } + public ResourceAttributes __ResourceAttributes + { + get { return (ResourceAttributes)module.ManifestResource.records[index].Flags; } + } + public ResourceLocation ResourceLocation { get |