Corefx dotnet/coreclr#16274 - LazyInitializer.EnsureInitialized overload for reference
authorWinCPP <mandards@gmail.com>
Wed, 1 Mar 2017 03:19:49 +0000 (08:49 +0530)
committerWinCPP <mandards@gmail.com>
Wed, 1 Mar 2017 03:19:49 +0000 (08:49 +0530)
commit5f2fc9701e36569a3c1e7dc4743bbcf17a0b6119
tree6f806a5944200b58682736754cada9680276d41f
parent930010893b94b3f352ddacd302f8b67dc648427d
Corefx dotnet/coreclr#16274 - LazyInitializer.EnsureInitialized overload for reference
types

LazyInitializer.EnsureInitialized overload for reference types that does
not take boolean for tracking initialization status of the reference
type object. Null check on the object parameter is sufficient to whether
or not it has been initialized.

Commit migrated from https://github.com/dotnet/coreclr/commit/f6533e1d3838b636a63783e1fec6c958714137b6
src/coreclr/src/mscorlib/src/System/Threading/LazyInitializer.cs