CsWinRT
CsWinRT copied to clipboard
TestIterator fails due to IEnumerator helper type not found
System.InvalidOperationException : Target type is not a projected type: System.Collections.IEnumerator.
Stack Trace: TypeExtensions.GetHelperType(Type type) line 103 IDynamicInterfaceCastable.GetInterfaceImplementation(RuntimeTypeHandle interfaceType) line 144 IEnumerator.MoveNext() CustomIteratorTest.MoveNext() line 1916 TestCSharp.TestIterator() line 2595
Need to evaluate whether this needs to be converted to an IDIC interface which would be an API surface change: https://github.com/microsoft/CsWinRT/blob/86d7976c81c32c6a1fd8b446ee8667759be53543/src/WinRT.Runtime/Projections/IEnumerable.net5.cs#L260