Skip to content

Commit

Permalink
Changed supression source.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrohanea committed May 20, 2023
1 parent ad161d4 commit bc29e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Whisper.net/GlobalSuppressions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
using System.Diagnostics.CodeAnalysis;

// Suppressed these because the Memory based oberload is not available in .NET Standard 2.0, which is one of the target frameworks.
[assembly: SuppressMessage("Performance", "CA1835:Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'", Justification = "<Pending>", Scope = "member", Target = "~M:Whisper.net.Wave.WaveParser.InitializeAsync~System.Threading.Tasks.Task")]
[assembly: SuppressMessage("Performance", "CA1835:Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'", Justification = "<Pending>", Scope = "member", Target = "~M:Whisper.net.Wave.WaveParser.GetAvgSamplesAsync(System.Threading.CancellationToken)~System.Threading.Tasks.Task{System.Single[]}")]
[assembly: SuppressMessage("Performance", "CA1835:Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'", Justification = "<Pending>", Scope = "member", Target = "~M:Whisper.net.Wave.WaveParser.InitializeCore(System.Boolean)~System.Threading.Tasks.Task")]

0 comments on commit bc29e8c

Please sign in to comment.