7 references to RemoveUnnecessaryParenthesesDiagnosticId
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
CodeCleanup\CSharpCodeCleanupService.cs (1)
37
IDEDiagnosticIds.
RemoveUnnecessaryParenthesesDiagnosticId
,
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryExpressionParenthesesTests.cs (1)
50
=> TestHelpers.Diagnostic(IDEDiagnosticIds.
RemoveUnnecessaryParenthesesDiagnosticId
, text, startLocation: new LinePosition(line, column));
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryParentheses\AbstractRemoveUnnecessaryParenthesesDiagnosticAnalyzer.cs (1)
25
: base(IDEDiagnosticIds.
RemoveUnnecessaryParenthesesDiagnosticId
,
src\Analyzers\Core\CodeFixes\RemoveUnnecessaryParentheses\AbstractRemoveUnnecessaryParenthesesCodeFixProvider.cs (1)
21
=> [IDEDiagnosticIds.
RemoveUnnecessaryParenthesesDiagnosticId
];
Microsoft.VisualStudio.LanguageServices (3)
CodeCleanup\CommonCodeCleanUpFixerDiagnosticIds.cs (3)
190
[FixId(IDEDiagnosticIds.
RemoveUnnecessaryParenthesesDiagnosticId
)]
191
[Name(IDEDiagnosticIds.
RemoveUnnecessaryParenthesesDiagnosticId
)]
194
[HelpLink($"https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/{IDEDiagnosticIds.
RemoveUnnecessaryParenthesesDiagnosticId
}")]