You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MemberDeclarationTestCase("public T M0_NullableDisableContext<T>(T x) {}")]publicTM0_NullableDisableContext<T>(Tx)=>thrownewNotImplementedException();
1057
+
[MemberDeclarationTestCase("public T M0_NullableDisableContext<T>(T x) {}")]
[MemberDeclarationTestCase("public T M1<T>(T x) where T : new() {}")]publicTM1<T>(Tx)whereT:new()=>thrownewNotImplementedException();
1065
1062
[MemberDeclarationTestCase("public T M2_0<T>(T x) where T : struct {}")]publicTM2_0<T>(Tx)whereT:struct=>thrownewNotImplementedException();
1066
1063
[MemberDeclarationTestCase("public T M2_1<T>(T x) where T : struct, System.IDisposable {}")]publicTM2_1<T>(Tx)whereT:struct,IDisposable=>thrownewNotImplementedException();
@@ -1081,47 +1078,42 @@ public class CBase { }
1081
1078
[MemberDeclarationTestCase("public T M12<T>(T x) where T : System.Delegate {}")]publicTM12<T>(Tx)whereT:System.Delegate=>thrownewNotImplementedException();
1082
1079
[MemberDeclarationTestCase("public T M13<T>(T x) where T : System.MulticastDelegate {}")]publicTM13<T>(Tx)whereT:System.MulticastDelegate=>thrownewNotImplementedException();
[MemberDeclarationTestCase("public T M15_0<T>(T x) where T : unmanaged {}")]publicTM15_0<T>(Tx)whereT: unmanaged =>thrownewNotImplementedException();
1082
+
[MemberDeclarationTestCase("public T M15_1<T>(T x) where T : unmanaged, System.IDisposable {}")]publicTM15_1<T>(Tx)whereT: unmanaged,IDisposable=>thrownewNotImplementedException();
1083
+
}
1105
1084
1106
-
[MemberDeclarationTestCase("public void M14_3_NullableEnableContext<T>(T t) where T : notnull, System.IDisposable {}")]
[MemberDeclarationTestCase($"public T {nameof(NotNull_OnlyParameter_NullableEnableContext)}<TNotNull, T>(TNotNull pNotNull, T p) where TNotNull : notnull {{}}")]
[MemberDeclarationTestCase($"public T {nameof(NotNull_OnlyParameter_NullableDisableContext)}<TNotNull, T>(TNotNull pNotNull, T p) where TNotNull : notnull {{}}")]
[MemberDeclarationTestCase("public T M15_0<T>(T x) where T : unmanaged {}")]publicTM15_0<T>(Tx)whereT: unmanaged =>thrownewNotImplementedException();
1124
-
[MemberDeclarationTestCase("public T M15_1<T>(T x) where T : unmanaged, System.IDisposable {}")]publicTM15_1<T>(Tx)whereT: unmanaged,IDisposable=>thrownewNotImplementedException();
1110
+
#nullable enable annotations
1111
+
[MemberDeclarationTestCase($"public TNotNullDisposable {nameof(NotNullAndTypeConstraint_NullableEnableContext)}<TNotNullDisposable>(TNotNullDisposable p) where TNotNullDisposable : notnull, System.IDisposable {{}}")]
0 commit comments