1

Closed

Build warning CS0108

description

5ad39eb introduced a build warning (CS0108 inherited member hidden).

"C:\Sources\orchard\Orchard.proj" (precompiled target) (1) ->
"C:\Sources\orchard\src\Orchard.sln" (Build target) (2:2) ->
"C:\Sources\orchard\src\Orchard.Web\Orchard.Web.csproj.metaproj" (default target) (3:2) ->
"C:\Sources\orchard\src\Orchard.Web\Modules\Orchard.Search\Orchard.Search.csproj" (default target) (73:4) ->
"C:\Sources\orchard\src\Orchard\Orchard.Framework.csproj" (default target) (5:70) ->
(CoreCompile target) ->
  ContentManagement\IContentQuery.cs(39,39): warning CS0108: 'Orchard.ContentManagement.IContentQuery<TPart,TRecord>.Wi
thQueryHints(Orchard.ContentManagement.QueryHints)' hides inherited member 'Orchard.ContentManagement.IContentQuery<TPa
rt>.WithQueryHints(Orchard.ContentManagement.QueryHints)'. Use the new keyword if hiding was intended. [C:\Sources\orch
ard\src\Orchard\Orchard.Framework.csproj]
  ContentManagement\IContentQuery.cs(40,39): warning CS0108: 'Orchard.ContentManagement.IContentQuery<TPart,TRecord>.Wi
thQueryHintsFor(string)' hides inherited member 'Orchard.ContentManagement.IContentQuery<TPart>.WithQueryHintsFor(strin
g)'. Use the new keyword if hiding was intended. [C:\Sources\orchard\src\Orchard\Orchard.Framework.csproj]

"C:\Sources\orchard\Orchard.proj" (precompiled target) (1) ->
"C:\Sources\orchard\src\Orchard.sln" (Build target) (2:3) ->
"C:\Sources\orchard\src\Orchard.Web\Orchard.Web.csproj.metaproj" (default target) (3:3) ->
"C:\Sources\orchard\src\Orchard.Web\Modules\Orchard.Search\Orchard.Search.csproj" (default target) (73:9) ->
"C:\Sources\orchard\src\Orchard\Orchard.Framework.csproj" (default target) (5:274) ->
(CoreCompile target) ->
  ContentManagement\IContentQuery.cs(39,39): warning CS0108: 'Orchard.ContentManagement.IContentQuery<TPart,TRecord>.Wi
thQueryHints(Orchard.ContentManagement.QueryHints)' hides inherited member 'Orchard.ContentManagement.IContentQuery<TPa
rt>.WithQueryHints(Orchard.ContentManagement.QueryHints)'. Use the new keyword if hiding was intended. [C:\Sources\orch
ard\src\Orchard\Orchard.Framework.csproj]
  ContentManagement\IContentQuery.cs(40,39): warning CS0108: 'Orchard.ContentManagement.IContentQuery<TPart,TRecord>.Wi
thQueryHintsFor(string)' hides inherited member 'Orchard.ContentManagement.IContentQuery<TPart>.WithQueryHintsFor(strin
g)'. Use the new keyword if hiding was intended. [C:\Sources\orchard\src\Orchard\Orchard.Framework.csproj]
Closed Jan 17 at 6:22 PM by Piedone

comments

JasperD wrote Jan 16 at 7:45 PM

Can be closed, fixed with 1eecc1ab4d4a72f74be94565ff92b6b563cadf14