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

github.com/mono/aspnetwebstack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin.baulig@xamarin.com>2013-03-13 05:02:19 +0400
committerMartin Baulig <martin.baulig@xamarin.com>2013-03-13 05:12:08 +0400
commite77b12e6cc5ed260a98447f609e887337e44e299 (patch)
tree48db449284a965f5b98f75041d2432eb036af6a2
parentbe039c9b12e681c6639fc506e73baa1a839b1a4d (diff)
Make this compile with .NET 4.5.current
-rw-r--r--src/System.Web.Http/Controllers/ReflectedHttpParameterDescriptor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Web.Http/Controllers/ReflectedHttpParameterDescriptor.cs b/src/System.Web.Http/Controllers/ReflectedHttpParameterDescriptor.cs
index 6808deab..aab22fdb 100644
--- a/src/System.Web.Http/Controllers/ReflectedHttpParameterDescriptor.cs
+++ b/src/System.Web.Http/Controllers/ReflectedHttpParameterDescriptor.cs
@@ -70,7 +70,7 @@ namespace System.Web.Http.Controllers
public override Collection<T> GetCustomAttributes<T>()
{
- return new Collection<T>(ParameterInfo.GetCustomAttributes<T>(inherit: false));
+ return new Collection<T>(ParameterInfoExtensions.GetCustomAttributes<T>(ParameterInfo, inherit: false));
}
}
}