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

◆ SetCustomProperty()

void System.Diagnostics.Activity.SetCustomProperty ( string propertyName,
object? propertyValue )
inline

Definition at line 946 of file Activity.cs.

947 {
948 if (_customProperties == null)
949 {
951 }
953 {
954 if (propertyValue == null)
955 {
957 }
958 else
959 {
961 }
962 }
963 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
Dictionary< string, object > _customProperties
Definition Activity.cs:347
static int CompareExchange(ref int location1, int value, int comparand)

References System.Diagnostics.Activity._customProperties, System.Threading.Interlocked.CompareExchange(), and System.Collections.Generic.Dictionary< TKey, TValue >.Remove().