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
A warning is reported for IEnumerable<T>.GetEnumerator():
using System.Collections;using System.Collections.Generic;using System.Runtime.CompilerServices;[module:NonNullTypes]classEnumerable<T>:IEnumerable<T>{IEnumerator<T>IEnumerable<T>.GetEnumerator()=>thrownull;// warning
IEnumerator IEnumerable.GetEnumerator()=>thrownull;}
(7,35): warning CS8616: Nullability of reference types in return type doesn't match
implemented member 'IEnumerator<T> IEnumerable<T>.GetEnumerator()'.
The text was updated successfully, but these errors were encountered:
A warning is reported for
IEnumerable<T>.GetEnumerator()
:The text was updated successfully, but these errors were encountered: