if I suppress it like that in the razor file
@{ #pragma warning disable CS0618 }
@inject SignOutSessionStateManager SignOutManager
@{ #pragma warning restore CS0618 }
Visual Studio is satisfied with that code, but dotnet compile
still throws CS0618 warning.
Also it does not seem to be possible in include #inject
into @{ ... }
construct