Skip to content

Commit

Permalink
Merge pull request dotnet/corefx#3 from dotnet/master
Browse files Browse the repository at this point in the history
Bring in dotnet/corefx

Commit migrated from dotnet/corefx@9797bf3
  • Loading branch information
DnlHarvey authored Mar 31, 2017
2 parents 151e0c4 + d65dd8b commit 4161280
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

using System.Runtime.Remoting.Messaging;
using System.Security;
using System.Threading;

namespace System.Diagnostics
{
[Serializable]
public partial class Activity
{
/// <summary>
Expand All @@ -34,7 +34,13 @@ private set
}

#region private
private static readonly string FieldKey = $"{typeof(Activity).FullName}.Value.{AppDomain.CurrentDomain.Id}";

[Serializable]
private partial class KeyValueListNode
{
}

private static readonly string FieldKey = $"{typeof(Activity).FullName}";
#endregion
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,11 @@ private static unsafe long GetRandomNumber()

private const int RequestIdMaxLength = 1024;
private const char RootIdPrefix = '|';

/// <summary>
/// Having our own key-value linked list allows us to be more efficient
/// </summary>
private class KeyValueListNode
private partial class KeyValueListNode
{
public KeyValuePair<string, string> keyValue;
public KeyValueListNode Next;
Expand Down

0 comments on commit 4161280

Please sign in to comment.