Add back a constructor

We still need this for now. Both constructors call the non-obsolete
constructor on the base class.

Will remove this once ServiceHub starts calling the new constructor.
This commit is contained in:
Ryan Nowak 2017-03-09 13:04:09 -08:00
parent a418a175a9
commit bf2a6140f0
1 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,12 @@ namespace Microsoft.CodeAnalysis.Remote.Razor
{
internal class RazorLanguageService : ServiceHubServiceBase
{
[Obsolete("This will be removed as part of #976. ServiceHub still calls this constructor. Remove once ServiceHub can use the other one.")]
public RazorLanguageService(Stream stream, IServiceProvider serviceProvider)
: base(serviceProvider, stream)
{
}
public RazorLanguageService(IServiceProvider serviceProvider, Stream stream)
: base(serviceProvider, stream)
{