You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@ -545,8 +545,8 @@ namespace System.ServiceModel.Diagnostics
|
||||
(message.State != MessageState.Closed))
|
||||
{
|
||||
object property;
|
||||
|
||||
if (message.Properties.TryGetValue(TraceUtility.ActivityIdKey, out property))
|
||||
|
||||
if (message.GetProperty(TraceUtility.ActivityIdKey, out property))
|
||||
{
|
||||
retval = property as ServiceModelActivity;
|
||||
}
|
||||
@ -603,7 +603,7 @@ namespace System.ServiceModel.Diagnostics
|
||||
{
|
||||
// If the property is just removed, the item is disposed and we don't want the thing
|
||||
// to be disposed of.
|
||||
message.Properties[TraceUtility.ActivityIdKey] = false;
|
||||
message.SetProperty(TraceUtility.ActivityIdKey, false);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
@ -659,7 +659,7 @@ namespace System.ServiceModel.Diagnostics
|
||||
{
|
||||
if (DiagnosticUtility.ShouldUseActivity && message != null && message.State != MessageState.Closed)
|
||||
{
|
||||
message.Properties[TraceUtility.ActivityIdKey] = activity;
|
||||
message.SetProperty(TraceUtility.ActivityIdKey, activity);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user