We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac124fe commit 16b81adCopy full SHA for 16b81ad
tests/Tests/ApiTests.cs
@@ -56,6 +56,8 @@ public class ApiTest : BaseTest
56
public static IEnumerable<object[]> InteropDelegatesData =>
57
InteropDelegates.Select(m => new object[] { m });
58
59
+ // Targets using USE_LIBRARY_IMPORT don't have delegates generated as they are not used.
60
+#if !USE_LIBRARY_IMPORT
61
[Trait(Traits.Category.Key, Traits.Category.Values.Api)]
62
[SkippableFact]
63
public void DelegateTypesAreValid()
@@ -71,6 +73,7 @@ public void DelegateTypesHaveAttributes(Type delegateType)
71
73
{
72
74
Assert.NotNull(delegateType.GetCustomAttribute<UnmanagedFunctionPointerAttribute>());
75
}
76
+#endif
77
78
79
[SkippableTheory]
0 commit comments