ignore using warning
This commit is contained in:
parent
67d4955664
commit
795aa09152
Pixiview
8
Pixiview/GlobalSuppressions.cs
Normal file
8
Pixiview/GlobalSuppressions.cs
Normal file
@ -0,0 +1,8 @@
|
||||
// This file is used by Code Analysis to maintain SuppressMessage
|
||||
// attributes that are applied to this project.
|
||||
// Project-level suppressions either have no target or are given
|
||||
// a specific target and scoped to a namespace, type, member, etc.
|
||||
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
[assembly: SuppressMessage("Style", "IDE0063:Use simple 'using' statement", Justification = "<Pending>")]
|
@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
@ -13,7 +12,6 @@ namespace Pixiview.Utils
|
||||
//public static readonly string CacheFolder = Environment.GetFolderPath(Environment.SpecialFolder.InternetCache);
|
||||
public const string ImageFolder = "images";
|
||||
|
||||
[SuppressMessage("Style", "IDE0063:Use simple 'using' statement", Justification = "<Pending>")]
|
||||
public static async Task DownloadImage(string url)
|
||||
{
|
||||
var uri = new Uri(url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user