Skip to content

Commit 80a4a6a

Browse files
committed
added missing ArgumentNullException comment to Migrations.CheckIfTypeIsMigration
1 parent 0995ced commit 80a4a6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Code/src/Synnotech.Migrations.Core/Migrations.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ static void FindMigrationTypesAndRegisterThem(Action<Type> registerMigrationType
8181
/// <param name="migrationBaseType">The base type for all migrations.</param>
8282
/// <param name="attribute">When every check passed, the attribute that is applied to the migration type.</param>
8383
/// <returns>True if the specified <paramref name="type" /> is a migration type, else false.</returns>
84+
/// <exception cref="ArgumentNullException">Thrown when <paramref name="type" /> or <paramref name="migrationBaseType" /> is null.</exception>
8485
/// <exception cref="MigrationException">Thrown when <paramref name="type" /> has an invalid migration attribute applied to it.</exception>
8586
public static bool CheckIfTypeIsMigration<TMigrationAttribute>(this Type type,
8687
Type migrationBaseType,

0 commit comments

Comments
 (0)