Repository navigation
Move Razor to DocumentUri #84370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Razor to DocumentUri #84370
Changes from 8 commits
02ab67a
4066aad
58b9315
91d0eff
0a5cb90
50dc8e3
923f1af
2c9c113
388ec56
3b967d0
0b968d7
c1de5b8
8fe05d5
b77e621
77b9e96
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| using System; | ||
|
Check failure on line 4 in src/Razor/src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Extensions/LspExtensions_Location.cs
|
||
|
davidwengier marked this conversation as resolved.
Resolved
|
||
| using Microsoft.CodeAnalysis.Razor; | ||
|
|
||
| namespace Roslyn.LanguageServer.Protocol; | ||
|
|
||
| internal static partial class LspExtensions | ||
| { | ||
| public static void Deconstruct(this LspLocation position, out Uri uri, out LspRange range) | ||
| => (uri, range) = (position.DocumentUri.GetRequiredSystemUri(), position.Range); | ||
| public static void Deconstruct(this LspLocation position, out DocumentUri uri, out LspRange range) | ||
| => (uri, range) = (position.DocumentUri, position.Range); | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.