diff --git a/src/mscorlib/model.xml b/src/mscorlib/model.xml index b951881869ad..fa5c9c0722ba 100644 --- a/src/mscorlib/model.xml +++ b/src/mscorlib/model.xml @@ -3134,6 +3134,7 @@ + diff --git a/src/mscorlib/src/System/Lazy.cs b/src/mscorlib/src/System/Lazy.cs index 053052696d7d..903c19c2ad46 100644 --- a/src/mscorlib/src/System/Lazy.cs +++ b/src/mscorlib/src/System/Lazy.cs @@ -125,6 +125,19 @@ public Lazy() { } + /// + /// Initializes a new instance of the class that + /// uses a pre-initialized specified value. + /// + /// + /// An instance created with this constructor should be usable by multiple threads + // concurrently. + /// + public Lazy(T value) + { + m_boxed = new Boxed(value); + } + /// /// Initializes a new instance of the class that uses a /// specified initialization function.