Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckTaskNotNull()

void System.Net.Http.HttpContent.CheckTaskNotNull ( Task task)
inlineprivateinherited

Definition at line 728 of file HttpContent.cs.

729 {
730 if (task == null)
731 {
733 if (System.Net.NetEventSource.Log.IsEnabled())
734 {
735 System.Net.NetEventSource.Error(this, ex, "CheckTaskNotNull");
736 }
737 throw ex;
738 }
739 }
static readonly System.Net.NetEventSource Log
static void Error(object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
static string net_http_content_no_task_returned
Definition SR.cs:40
Definition SR.cs:7

References System.Net.NetEventSource.Error(), System.Net.NetEventSource.Log, System.SR.net_http_content_no_task_returned, and System.task.

Referenced by System.Net.Http.HttpContent.InternalCopyToAsync(), and System.Net.Http.HttpContent.LoadIntoBufferAsync().