1 write to _lazyWellKnownTypes
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Compilation_WellKnownMembers.cs (1)
132
Interlocked.CompareExchange(ref
_lazyWellKnownTypes
, new NamedTypeSymbol[(int)WellKnownTypes.Count], null);
7 references to _lazyWellKnownTypes
Microsoft.CodeAnalysis.CSharp (7)
Symbols\Compilation_WellKnownMembers.cs (7)
128
if (
_lazyWellKnownTypes
== null ||
_lazyWellKnownTypes
[index] is null)
130
if (
_lazyWellKnownTypes
== null)
178
if (Interlocked.CompareExchange(ref
_lazyWellKnownTypes
[index], result, null) is object)
181
TypeSymbol.Equals(result,
_lazyWellKnownTypes
[index], TypeCompareKind.ConsiderEverything2) || (
_lazyWellKnownTypes
[index]!.IsErrorType() && result.IsErrorType())
192
return
_lazyWellKnownTypes
[index]!;