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