1 type derived from LinkedObject
Microsoft.Build.Engine.OM.UnitTests (1)
ObjectModelRemoting\RemoteProjectsProviderMock\LinkedObjectsMap.cs (1)
227
public class LinkedObject<SourceType> :
LinkedObject
13 references to LinkedObject
Microsoft.Build.Engine.OM.UnitTests (13)
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
242
foreach (
var
ai in map.GetActiveLinks())
ObjectModelRemoting\RemoteProjectsProviderMock\LinkedObjectsMap.cs (12)
20
internal IEnumerable<
LinkedObject
> GetActiveLinks()
26
if (h.IsValid && h.RemoterWeak.TryGetTarget(out
var
result))
61
private bool TryGetUnderLock(KeyType key, out
LinkedObject
result)
89
private void AddUnderLock(
LinkedObject
ro, Action<UInt32> setter)
104
private
LinkedObject
GetOrAdd(
LinkedObject
ro, Action<UInt32> setter)
113
if (!TryGetUnderLock(ro.Key, out
var
result))
191
if (TryGetUnderLock(key, out
var
r))
247
public
LinkedObject
ActivateSlow(LinkedObjectsMap<KeyType> map)
274
public WeakHolder(
LinkedObject
ro)
279
this.RemoterWeak = new WeakReference<
LinkedObject
>(ro);
288
public WeakReference<
LinkedObject
> RemoterWeak { get; private set; }