提交 cbf2abaf 编写于 作者: C Cyrus Najmabadi

NRT

上级 c81b2aa3
......@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Host;
......@@ -52,7 +50,7 @@ internal class InlineParameterNameHintsTaggerProvider : IViewTaggerProvider
this.StreamingFindUsagesPresenter = streamingFindUsagesPresenter;
}
public ITagger<T> CreateTagger<T>(ITextView textView, ITextBuffer buffer) where T : ITag
public ITagger<T>? CreateTagger<T>(ITextView textView, ITextBuffer buffer) where T : ITag
{
// Determining of the textView's buffer does not match the buffer in order to skip showing the hints for
// the interactive window
......
......@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
......@@ -14,7 +12,6 @@
namespace Microsoft.CodeAnalysis.InlineHints
{
internal interface IInlineParameterNameHintsService : ILanguageService
{
Task<ImmutableArray<InlineParameterHint>> GetInlineParameterNameHintsAsync(Document document, TextSpan textSpan, CancellationToken cancellationToken);
......
......@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Immutable;
using System.Composition;
......
......@@ -2,18 +2,16 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
namespace Microsoft.CodeAnalysis.InlineHints
{
internal readonly struct InlineParameterHint
{
public readonly IParameterSymbol Parameter;
public readonly IParameterSymbol? Parameter;
public readonly int Position;
public readonly InlineParameterHintKind Kind;
public InlineParameterHint(
IParameterSymbol parameter,
IParameterSymbol? parameter,
int position,
InlineParameterHintKind kind)
{
......
......@@ -2,8 +2,6 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
namespace Microsoft.CodeAnalysis.InlineHints
{
internal enum InlineParameterHintKind
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册