Fix AddCacheDependency signature to use params
authorNathanael Jones <nathanael.jones@gmail.com>
Mon, 16 Jun 2014 16:43:28 +0000 (18:43 +0200)
committerNathanael Jones <nathanael.jones@gmail.com>
Mon, 16 Jun 2014 16:43:28 +0000 (18:43 +0200)
The .NET AddCacheDependency method signature is `public void AddCacheDependency(params CacheDependency[] dependencies);` Mono should mirror the signature (even if it isn't implemented) to prevent build errors. Conditional code, of course, will need to be used for an alternative mono path.

mcs/class/System.Web/System.Web/HttpResponse.cs

index ad18b88a3c4400cb6e3001539283f2a0057820ee..2491c9035d1985800a69c257ab282dbb5e2708d8 100644 (file)
@@ -446,7 +446,7 @@ namespace System.Web
                }
 
                [MonoTODO ("Not implemented")]
-               public void AddCacheDependency (CacheDependency[] dependencies)
+               public void AddCacheDependency (params CacheDependency[] dependencies)
                {
                        throw new NotImplementedException ();
                }