Skip to content

Commit 58c658b

Browse files
committed
fixed issue with target-typed new instantiation of descriptors
dotnet/roslyn-analyzers#5828
1 parent 4e269e3 commit 58c658b

File tree

1 file changed

+6
-6
lines changed
  • Code/src/Synnotech.Migrations.Core.Analyzers/Int64TimestampVersions

1 file changed

+6
-6
lines changed

Code/src/Synnotech.Migrations.Core.Analyzers/Int64TimestampVersions/Descriptors.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ public static class Descriptors
1616
/// Gets the diagnostic descriptor for rule SM1000
1717
/// </summary>
1818
public static readonly DiagnosticDescriptor MissingMigrationVersionAttribute =
19-
new ("SM1000",
20-
"Apply the Int64Timestamp Migration Version",
21-
"This migration will not be picked up by the migration engine because the migration version attribute is missing",
22-
Category,
23-
DiagnosticSeverity.Info,
24-
true);
19+
new DiagnosticDescriptor("SM1000",
20+
"Apply the Int64Timestamp Migration Version",
21+
"This migration will not be picked up by the migration engine because the migration version attribute is missing",
22+
Category,
23+
DiagnosticSeverity.Info,
24+
true);
2525
}
2626
}

0 commit comments

Comments
 (0)