diff options
author | jfrijters <jfrijters> | 2010-02-26 12:26:20 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2010-02-26 12:26:20 +0300 |
commit | d4c8f62b7c2a498997cd4dace2c5bb9674be1810 (patch) | |
tree | 71eb73524c245f2f8360b2119213eda1e131f060 /reflect/PropertyInfo.cs | |
parent | 05d9e5facb46f53a14f26f1e0231a96e8e8c0cf3 (diff) |
Made property and event public/static flag handling compatible with .NET
Diffstat (limited to 'reflect/PropertyInfo.cs')
-rw-r--r-- | reflect/PropertyInfo.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/reflect/PropertyInfo.cs b/reflect/PropertyInfo.cs index 72297006..2eb3ceb7 100644 --- a/reflect/PropertyInfo.cs +++ b/reflect/PropertyInfo.cs @@ -42,6 +42,7 @@ namespace IKVM.Reflection public abstract MethodInfo[] GetAccessors(bool nonPublic); public abstract object GetRawConstantValue(); internal abstract bool IsPublic { get; } + internal abstract bool IsStatic { get; } internal abstract PropertySignature PropertySignature { get; } private sealed class ParameterInfoImpl : ParameterInfo @@ -151,11 +152,6 @@ namespace IKVM.Reflection return GetAccessors(false); } - internal virtual bool IsStatic - { - get { return !this.PropertySignature.HasThis; } - } - internal virtual PropertyInfo BindTypeParameters(Type type) { return new GenericPropertyInfo(this.DeclaringType.BindTypeParameters(type), this); |