Skip to content

Commit

Permalink
Suppress unused parameter; by design
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsensesoftware committed Aug 30, 2023
1 parent 8b8a26d commit 49cdc8d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ public async Task write_async_should_output_expected_json()
} );
}

#pragma warning disable IDE0060 // Remove unused parameter
private static ValueTask<T> DeserializeByExampleAsync<T>( Stream stream, T example ) =>
JsonSerializer.DeserializeAsync<T>( stream );
#pragma warning restore IDE0060 // Remove unused parameter
}

0 comments on commit 49cdc8d

Please sign in to comment.