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