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)
49
Logger.
LogWarning
($"RazorDocumentMappingService:TryMapToGeneratedDocumentRange original range end < start '{razorRange}'");
415
Logger.
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)
138
Logger.
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}'.");