7 references to PublicationOnly
mscorlib (7)
system\Lazy.cs (7)
213
else if (mode == LazyThreadSafetyMode.
PublicationOnly
)
262
if (m_threadSafeObj == (object)LazyHelpers.PUBLICATION_ONLY_SENTINEL) return LazyThreadSafetyMode.
PublicationOnly
;
357
else if (mode == LazyThreadSafetyMode.
PublicationOnly
)
424
if (mode != LazyThreadSafetyMode.
PublicationOnly
&& m_valueFactory == ALREADY_INVOKED_SENTINEL)
428
if (mode != LazyThreadSafetyMode.
PublicationOnly
) // only detect recursion on None and ExecutionAndPublication modes
441
if (mode != LazyThreadSafetyMode.
PublicationOnly
) // don't cache the exception for PublicationOnly mode
456
if (mode != LazyThreadSafetyMode.
PublicationOnly
) // don't cache the exception for PublicationOnly mode