Skip to content

Commit f5d5347

Browse files
jkoritzinskyjkotas
andauthored
Disable IEnumerator test on Mono (#95804)
Co-authored-by: Jan Kotas <[email protected]>
1 parent 9ac84d7 commit f5d5347

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/tests/Interop/PInvoke/IEnumerator/IEnumeratorTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public static extern void VerifyIntegerEnumeration(
4040
}
4141

4242
[ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltInComEnabled))]
43+
[SkipOnMono("PInvoke IEnumerator/IEnumerable marshalling not supported on Mono")]
4344
public static class IEnumeratorTests
4445
{
4546
[Fact]

src/tests/issues.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,9 +1831,6 @@
18311831
<ExcludeList Include="$(XunitTestBinBase)/Interop/PInvoke/Variant/VariantTestComWrappers/*">
18321832
<Issue>Requires COM support, disabled on all Mono platforms</Issue>
18331833
</ExcludeList>
1834-
<ExcludeList Include="$(XunitTestBinBase)/Interop/PInvoke/IEnumerator/IEnumeratorTest/*">
1835-
<Issue>PInvoke IEnumerator/IEnumarable marshalling not supported on Mono</Issue>
1836-
</ExcludeList>
18371834
<ExcludeList Include="$(XunitTestBinBase)/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/DelegatePInvoke/DelegatePInvokeTest/*">
18381835
<Issue>https://github.com/dotnet/runtime/issues/65695</Issue>
18391836
</ExcludeList>

0 commit comments

Comments
 (0)