We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60fd4dc commit 4ec2149Copy full SHA for 4ec2149
src/Protocol/Models/TextDocumentIdentifier.cs
@@ -42,7 +42,7 @@ public override bool Equals(object? obj)
42
43
public static implicit operator TextDocumentIdentifier(string uri) => new TextDocumentIdentifier { Uri = uri };
44
45
- private string DebuggerDisplay => Uri.ToString()!;
+ private string DebuggerDisplay => ((Uri?)Uri)?.ToString() ?? string.Empty;
46
47
/// <inheritdoc />
48
public override string ToString() => DebuggerDisplay;
0 commit comments