Skip to content

Commit

Permalink
Update src/TestFramework/TestFramework/Assertions/Assert.IsInstanceOf…
Browse files Browse the repository at this point in the history
…Type.cs
  • Loading branch information
Evangelink authored Apr 15, 2024
1 parent 13be344 commit b615851
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static void IsInstanceOfType<T>([NotNull] object? value, string? message,
public static void IsInstanceOfType<T>([NotNull] object? value, out T instance, string? message, params object?[]? parameters)
{
IsInstanceOfType(value, typeof(T), message, parameters);
instance = (T)value!;
instance = (T)value;
}

/// <summary>
Expand Down

0 comments on commit b615851

Please sign in to comment.