1 write to _lazySpecialTypes
Microsoft.CodeAnalysis.CSharp (1)
Symbols\MetadataOrSourceAssemblySymbol.cs (1)
90
Interlocked.CompareExchange(ref
_lazySpecialTypes
,
8 references to _lazySpecialTypes
Microsoft.CodeAnalysis.CSharp (8)
Symbols\MetadataOrSourceAssemblySymbol.cs (8)
54
if (
_lazySpecialTypes
== null || (object)
_lazySpecialTypes
[(int)type] == null)
70
Debug.Assert(
_lazySpecialTypes
is not null);
71
return
_lazySpecialTypes
[(int)type];
88
if (
_lazySpecialTypes
== null)
94
if ((object)Interlocked.CompareExchange(ref
_lazySpecialTypes
[(int)typeId], corType, null) != null)
96
Debug.Assert(ReferenceEquals(corType,
_lazySpecialTypes
[(int)typeId]) ||
98
_lazySpecialTypes
[(int)typeId].Kind == SymbolKind.ErrorType));