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