9 references to None
Microsoft.Build.Tasks.Core (1)
WriteCodeFragment.cs (1)
280
System.Threading.LazyThreadSafetyMode.
None
);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ObjectFormatterTests.cs (1)
754
var obj = new Lazy<int[]>(() => new int[] { 1, 2 }, LazyThreadSafetyMode.
None
);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
ExpressionCompiler.cs (1)
381
new Lazy<ImmutableArray<AssemblyReaders>>(instructionAddress.MakeAssemblyReaders, LazyThreadSafetyMode.
None
),
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Lazy.cs (6)
74
case LazyThreadSafetyMode.
None
:
105
return LazyThreadSafetyMode.
None
;
137
case LazyThreadSafetyMode.
None
:
169
return isThreadSafe ? LazyThreadSafetyMode.ExecutionAndPublication : LazyThreadSafetyMode.
None
;
405
ViaFactory(LazyThreadSafetyMode.
None
);
497
/// <see cref="LazyThreadSafetyMode.
None
"/> and the initialization function attempted to access <see cref="Value"/> on this instance.