隐藏平台warn,放开自有模块warn
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Text;
|
||||
|
||||
namespace JNPF.Extras.CollectiveOAuth.Utils;
|
||||
|
||||
#pragma warning disable SYSLIB0014 //WebRequest.Create已过时
|
||||
public class HttpUtils
|
||||
{
|
||||
/// <summary>
|
||||
@@ -269,4 +270,5 @@ public class HttpUtils
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
#pragma warning restore SYSLIB0014 //WebRequest.Create已过时
|
||||
|
||||
@@ -52,7 +52,7 @@ public class TwitterBase
|
||||
|
||||
#region IComparer<QueryParameter> Members
|
||||
|
||||
public int Compare(QueryParameter x, QueryParameter y)
|
||||
public int Compare(QueryParameter? x, QueryParameter? y)
|
||||
{
|
||||
if (x.Name == y.Name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user