Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
YairHalberstadt committed Feb 14, 2021
1 parent a3f324d commit ad7ddea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141900,9 +141900,9 @@ static void M<T>(delegate*<T, void> ptr1, delegate*<T> ptr2)
// (7,15): warning CS8600: Converting null literal or possible null value to non-nullable type.
// T t = default;
Diagnostic(ErrorCode.WRN_ConvertingNullableToNonNullable, "default").WithLocation(7, 15),
// (8,14): warning CS8604: Possible null reference argument for parameter '' in 'delegate*<T, void>'.
// (8,14): warning CS8604: Possible null reference argument for parameter 'T' in 'delegate*<T, void>'.
// ptr1(t);
Diagnostic(ErrorCode.WRN_NullReferenceArgument, "t").WithArguments("", "delegate*<T, void>").WithLocation(8, 14),
Diagnostic(ErrorCode.WRN_NullReferenceArgument, "t").WithArguments("T", "delegate*<T, void>").WithLocation(8, 14),
// (9,9): warning CS8602: Dereference of a possibly null reference.
// ptr2().ToString();
Diagnostic(ErrorCode.WRN_NullReferenceReceiver, "ptr2()").WithLocation(9, 9)
Expand Down

0 comments on commit ad7ddea

Please sign in to comment.