Skip to content

Commit ad78b56

Browse files
committed
correct rule fix applies to
1 parent e4695da commit ad78b56

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Tocsoft.DateTimeAbstractions.Analyzer/DateTimeOffsetUsageCodeFixProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ namespace Tocsoft.DateTimeAbstractions.Analyzer
1919
[Shared]
2020
public class DateTimeOffsetUsageCodeFixProvider : CodeFixProvider
2121
{
22-
private const string Title = "Replace DateTimeOffset with ClockOffset";
22+
private const string Title = "Replace with ClockOffset";
2323

2424
public sealed override ImmutableArray<string> FixableDiagnosticIds
2525
{
26-
get { return ImmutableArray.Create(DateTimeUsageAnalyzer.DiagnosticId); }
26+
get { return ImmutableArray.Create(DateTimeOffsetUsageAnalyzer.DiagnosticId); }
2727
}
2828

2929
public sealed override FixAllProvider GetFixAllProvider()

src/Tocsoft.DateTimeAbstractions.Analyzer/DateTimeUsageCodeFixProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Tocsoft.DateTimeAbstractions.Analyzer
1919
[Shared]
2020
public class DateTimeUsageCodeFixProvider : CodeFixProvider
2121
{
22-
private const string Title = "Replace DateTime with Clock";
22+
private const string Title = "Replace with Clock";
2323

2424
public sealed override ImmutableArray<string> FixableDiagnosticIds
2525
{

0 commit comments

Comments
 (0)