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

◆ AddException() [4/4]

void System.Threading.Tasks.Task< TResult >.AddException ( object exceptionObject,
bool representsCancellation )
inlinepackageinherited

Definition at line 1745 of file Task.cs.

1746 {
1748 if (contingentProperties.m_exceptionsHolder == null)
1749 {
1750 TaskExceptionHolder taskExceptionHolder = new TaskExceptionHolder(this);
1751 if (Interlocked.CompareExchange(ref contingentProperties.m_exceptionsHolder, taskExceptionHolder, null) != null)
1752 {
1754 }
1755 }
1757 {
1759 }
1760 }
void Add(TKey key, TValue value)
ContingentProperties EnsureContingentPropertiesInitialized()
Definition Task.cs:1637

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Threading.Interlocked.CompareExchange(), and System.Threading.Tasks.Task< TResult >.EnsureContingentPropertiesInitialized().