Skip to content

Commit

Permalink
Disable the test for the Marshal switch now that it currently is a no…
Browse files Browse the repository at this point in the history
…-op. I've disabled the test so that we can re-enable it if we end up adding more APIs to the MarshalEx surface. (#1082)
  • Loading branch information
jkoritzinsky authored May 6, 2021
1 parent a406e64 commit b7688d5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions DllImportGenerator/DllImportGenerator.UnitTests/Compiles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,10 @@ public async Task ValidateSnippetsWithForwarder(string source)

public static IEnumerable<object[]> CodeSnippetsToCompileWithMarshalType()
{
// SetLastError
yield return new[] { CodeSnippets.AllSupportedDllImportNamedArguments };

// SafeHandle
yield return new[] { CodeSnippets.BasicParametersAndModifiers("Microsoft.Win32.SafeHandles.SafeFileHandle") };
yield break;
}

[Theory]
[Theory(Skip = "No current scenarios to test.")]
[MemberData(nameof(CodeSnippetsToCompileWithMarshalType))]
public async Task ValidateSnippetsWithMarshalType(string source)
{
Expand Down

0 comments on commit b7688d5

Please sign in to comment.