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>2010-02-26 12:26:20 +0300
committerjfrijters <jfrijters>2010-02-26 12:26:20 +0300
commitd4c8f62b7c2a498997cd4dace2c5bb9674be1810 (patch)
tree71eb73524c245f2f8360b2119213eda1e131f060 /reflect/PropertyInfo.cs
parent05d9e5facb46f53a14f26f1e0231a96e8e8c0cf3 (diff)
Made property and event public/static flag handling compatible with .NET
Diffstat (limited to 'reflect/PropertyInfo.cs')
-rw-r--r--reflect/PropertyInfo.cs6
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);