dotnet/roslyn

IDE0060 false positive for method used as a delegate in nested type

オープン

#44,226 opened on 2020/05/13

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (4,257 件のフォーク)batch import
Area-IDEBugFeature - IDE0060IDE-CodeStylehelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

See https://github.com/dotnet/roslyn/pull/44199/files#diff-346d613909e7c03e101f681834c8e015R22 in VisualBasicEscapingReducer.vb

#Disable Warning IDE0060 ' Remove unused parameter - False positive, used as a delegate in a nested type.
        ' TODO: File a bug for this 'IDE0060' false positive.
        Private Shared Function TryUnescapeToken(identifier As SyntaxToken, semanticModel As SemanticModel, optionSet As OptionSet, cancellationToken As CancellationToken) As SyntaxToken
#Enable Warning IDE0060 ' Remove unused parameter
            If Not identifier.IsBracketed Then
                Return identifier
            End If

コントリビューターガイド