public override ILanguageService CreateLanguageService(ref Guid guid) { if (this.specSharpVsLanguageService == null) { this.specSharpVsLanguageService = new VsLanguageService(); } #if Xaml if (guid == typeof(Microsoft.XamlCompiler.VsLanguageService).GUID) { return(new Microsoft.XamlCompiler.VsLanguageService(this.specSharpVsLanguageService)); } #endif return(this.specSharpVsLanguageService); }
public override ILanguageService CreateLanguageService(ref Guid guid){ if (this.specSharpVsLanguageService == null) this.specSharpVsLanguageService = new VsLanguageService(); #if Xaml if (guid == typeof(Microsoft.XamlCompiler.VsLanguageService).GUID) return new Microsoft.XamlCompiler.VsLanguageService(this.specSharpVsLanguageService); #endif return this.specSharpVsLanguageService; }