Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2011-03-10 13:47:37 +0300
committerjfrijters <jfrijters>2011-03-10 13:47:37 +0300
commit8675001bd54f3f6c8d966566e05f997036deeab2 (patch)
tree1e581497c14404c10bd64071badc1f442142137c /reflect/ManifestResourceInfo.cs
parentf443b36919f129acd8d2b14503a4000ca612530c (diff)
Added API extension to expose resource attributes.
Diffstat (limited to 'reflect/ManifestResourceInfo.cs')
-rw-r--r--reflect/ManifestResourceInfo.cs5
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