5 references to GetSharedInstance
Microsoft.AspNetCore.Cryptography.Internal (1)
Cng\CachedAlgorithmHandles.cs (1)
89
return WeakReferenceHelpers.
GetSharedInstance
(ref cachedAlgorithmInfo._algorithmHandle, cachedAlgorithmInfo._factory);
Microsoft.AspNetCore.Cryptography.Internal.Tests (4)
WeakReferenceHelpersTests.cs (4)
20
var retVal = WeakReferenceHelpers.
GetSharedInstance
(ref wr, () => newInstance);
39
var retVal = WeakReferenceHelpers.
GetSharedInstance
(ref wr, () => newInstance);
58
var retVal = WeakReferenceHelpers.
GetSharedInstance
(ref wr, () =>
61
WeakReferenceHelpers.
GetSharedInstance
(ref wr, () => instanceThatWillBeCreatedFirst);