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

◆ DisposeSource()

static void System.Net.Http.StreamToStreamCopy.DisposeSource ( Stream source)
inlinestaticprivate

Definition at line 57 of file StreamToStreamCopy.cs.

58 {
59 try
60 {
61 source.Dispose();
62 }
63 catch (Exception message)
64 {
65 if (System.Net.NetEventSource.Log.IsEnabled())
66 {
67 System.Net.NetEventSource.Error(null, message, "DisposeSource");
68 }
69 }
70 }
static readonly System.Net.NetEventSource Log
static void Error(object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)

References System.Net.NetEventSource.Error(), System.Net.NetEventSource.Log, and System.source.

Referenced by System.Net.Http.StreamToStreamCopy.Copy(), and System.Net.Http.StreamToStreamCopy.CopyAsync().