Browse files

Make this compile with .NET 4.5.

  • Loading branch information...
1 parent be039c9 commit e77b12e6cc5ed260a98447f609e887337e44e299 @baulig baulig committed Mar 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/System.Web.Http/Controllers/ReflectedHttpParameterDescriptor.cs
View
2 src/System.Web.Http/Controllers/ReflectedHttpParameterDescriptor.cs
@@ -70,7 +70,7 @@ public override Type ParameterType
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));
}
}
}

0 comments on commit e77b12e

Please sign in to comment.