6 implementations of IAsyncLocalValueMap
mscorlib (6)
system\threading\asynclocal.cs (6)
154
private sealed class EmptyAsyncLocalValueMap :
IAsyncLocalValueMap
173
private sealed class OneElementAsyncLocalValueMap :
IAsyncLocalValueMap
219
private sealed class TwoElementAsyncLocalValueMap :
IAsyncLocalValueMap
273
private sealed class ThreeElementAsyncLocalValueMap :
IAsyncLocalValueMap
342
private sealed class MultiElementAsyncLocalValueMap :
IAsyncLocalValueMap
442
private sealed class ManyElementAsyncLocalValueMap : Dictionary<IAsyncLocal, object>,
IAsyncLocalValueMap
22 references to IAsyncLocalValueMap
mscorlib (22)
system\threading\asynclocal.cs (17)
126
IAsyncLocalValueMap
Set(IAsyncLocal key, object value, bool treatNullValueAsNonexistent);
134
public static
IAsyncLocalValueMap
Empty { get; } = new EmptyAsyncLocalValueMap();
136
public static bool IsEmpty(
IAsyncLocalValueMap
asyncLocalValueMap)
144
public static
IAsyncLocalValueMap
Create(IAsyncLocal key, object value, bool treatNullValueAsNonexistent)
156
public
IAsyncLocalValueMap
Set(IAsyncLocal key, object value, bool treatNullValueAsNonexistent)
162
(
IAsyncLocalValueMap
)this;
183
public
IAsyncLocalValueMap
Set(IAsyncLocal key, object value, bool treatNullValueAsNonexistent)
191
(
IAsyncLocalValueMap
)new TwoElementAsyncLocalValueMap(_key1, _value1, key, value);
199
(
IAsyncLocalValueMap
)this;
230
public
IAsyncLocalValueMap
Set(IAsyncLocal key, object value, bool treatNullValueAsNonexistent)
239
(
IAsyncLocalValueMap
)new ThreeElementAsyncLocalValueMap(_key1, _value1, _key2, _value2, key, value);
248
(
IAsyncLocalValueMap
)this;
285
public
IAsyncLocalValueMap
Set(IAsyncLocal key, object value, bool treatNullValueAsNonexistent)
312
(
IAsyncLocalValueMap
)this;
359
public
IAsyncLocalValueMap
Set(IAsyncLocal key, object value, bool treatNullValueAsNonexistent)
384
(
IAsyncLocalValueMap
)new ThreeElementAsyncLocalValueMap(_keyValues[0].Key, _keyValues[0].Value, _keyValues[1].Key, _keyValues[1].Value, _keyValues[2].Key, _keyValues[2].Value);
446
public
IAsyncLocalValueMap
Set(IAsyncLocal key, object value, bool treatNullValueAsNonexistent)
system\threading\executioncontext.cs (5)
521
private
IAsyncLocalValueMap
_localValues;
657
var
thisLocalValues = IsNull ? null : m_ec._localValues;
658
var
otherLocalValues = other == null ? null : other._localValues;
693
IAsyncLocalValueMap
newValues = current._localValues;
1274
IAsyncLocalValueMap
localValues = null;