From ee9bc9779b5faa9a6d47b53fa79de6b652daf7ec Mon Sep 17 00:00:00 2001 From: David Wengier Date: Thu, 7 Mar 2024 21:34:06 +1100 Subject: [PATCH] Fix MEF error --- .../Semantic/Services/RazorSemanticTokensInfoService.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Semantic/Services/RazorSemanticTokensInfoService.cs b/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Semantic/Services/RazorSemanticTokensInfoService.cs index d22e69c4c8b..4e1498887b0 100644 --- a/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Semantic/Services/RazorSemanticTokensInfoService.cs +++ b/src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Semantic/Services/RazorSemanticTokensInfoService.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Collections.Immutable; -using System.Composition; using System.Diagnostics; using System.Linq; using System.Threading; @@ -21,8 +20,6 @@ namespace Microsoft.AspNetCore.Razor.LanguageServer.Semantic; -[Export(typeof(IRazorSemanticTokensInfoService)), Shared] -[method: ImportingConstructor] internal class RazorSemanticTokensInfoService( IRazorDocumentMappingService documentMappingService, RazorSemanticTokensLegendService razorSemanticTokensLegendService,