18 references to LogWarning
Microsoft.CodeAnalysis.Razor.Workspaces (9)
CodeActions\CodeActionResolveService.cs (2)
103_logger.LogWarning($"No resolver registered for {codeActionId}"); 145_logger.LogWarning($"No resolver registered for {codeActionId}");
Diagnostics\RazorTranslateDiagnosticsService.cs (1)
570_logger.LogWarning($"Dropping diagnostic {diagnostic.Code}:{diagnostic.Message} at csharp range {diagnostic.Range}");
DocumentMapping\AbstractDocumentMappingService.cs (2)
49Logger.LogWarning($"RazorDocumentMappingService:TryMapToGeneratedDocumentRange original range end < start '{razorRange}'"); 415Logger.LogWarning($"Attempted to map a range ({span.Start.Line},{span.Start.Character})-({span.End.Line},{span.End.Character}) outside of the Source (line count {sourceTextLinesCount}.) This could happen if the Roslyn and Razor LSP servers are not in sync.");
FoldingRanges\FoldingRangeService.cs (1)
126_logger.LogWarning($"Got a folding range of ({range.StartLine}-{range.EndLine}) but Razor document {codeDocument.Source.FilePath} only has {sourceText.Lines.Count} lines.");
Formatting\Passes\CSharpOnTypeFormattingPass.cs (2)
58_logger.LogWarning($"Failed to map to projected position for document {context.OriginalSnapshot.FilePath}."); 97_logger.LogWarning($"Got a bad edit that couldn't be applied. Edit is {startPos}-{endPos} but there are only {count} characters in C#.");
RazorComponentSearchEngine.cs (1)
56_logger.LogWarning($"Could not split namespace and type for name {tagHelper.Name}.");
Microsoft.CodeAnalysis.Remote.Razor (1)
NestedFiles\RemoteAddNestedFileService.cs (1)
138Logger.LogWarning($"Could not determine namespace for: {razorFilePath}");
Microsoft.VisualStudio.LanguageServices.Razor (7)
LanguageClient\Cohost\CohostAddNestedFileEndpoint.cs (1)
75_logger.LogWarning($"Failed to apply workspace edit for addNestedFile: {response.FailureReason}");
LanguageClient\Cohost\CohostApplyRenameEditEndpoint.cs (1)
59_logger.LogWarning($"Failed to apply workspace edit for rename operation: {response.FailureReason}");
ProjectCapabilityResolver.cs (4)
99_logger.LogWarning($"Live Share could not convert document path to shared URI: {documentFilePath}"); 125_logger.LogWarning($"Project does not support LSP Editor because {nameof(IVsUIShellOpenDocument.IsDocumentInAProject)} failed with error code: {result:x8}"); 134_logger.LogWarning($"LSP Editor is not supported for file because it is not in a project: {documentFilePath}"); 140_logger.LogWarning($"LSP Editor is not supported for file because it is not in a project: {documentFilePath}");
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostOnTypeFormattingEndpoint.cs (1)
76_logger.LogWarning($"Unexpected trigger character '{request.Character}'.");
Microsoft.VisualStudioCode.RazorExtension (1)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Formatting\CohostOnTypeFormattingEndpoint.cs (1)
76_logger.LogWarning($"Unexpected trigger character '{request.Character}'.");