Skip to content

Commit 520c851

Browse files
committed
Fixes after merge
1 parent d2275f7 commit 520c851

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/Completion/DirectiveAttributeEventParameterCompletionItemProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
2-
// Licensed under the MIT license. See License.txt in the project root for license information.
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.Collections.Generic;
55
using System.Collections.Immutable;

src/Razor/test/Microsoft.CodeAnalysis.Razor.Workspaces.Test/Completion/DirectiveAttributeEventParameterCompletionItemProviderTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) .NET Foundation. All rights reserved.
2-
// Licensed under the MIT license. See License.txt in the project root for license information.
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.Collections.Generic;
55
using Microsoft.AspNetCore.Razor.Language;
@@ -205,7 +205,7 @@ private static void AssertContains(IReadOnlyList<RazorCompletionItem> completion
205205
private RazorCompletionContext CreateRazorCompletionContext(TestCode documentContent)
206206
{
207207
var codeDocument = GetCodeDocument(documentContent.Text);
208-
var syntaxTree = codeDocument.GetSyntaxTree();
208+
var syntaxTree = codeDocument.GetRequiredSyntaxTree();
209209
var tagHelperDocumentContext = codeDocument.GetRequiredTagHelperContext();
210210
var absoluteIndex = documentContent.Position;
211211

0 commit comments

Comments
 (0)