7 references to s_defaultStringHandlerAttributeIndexes
Microsoft.CodeAnalysis.CSharp (7)
Symbols\Metadata\PE\PEParameterSymbol.cs (7)
174
private ImmutableArray<int> _lazyInterpolatedStringHandlerAttributeIndexes =
s_defaultStringHandlerAttributeIndexes
;
833
Debug.Assert(indexes !=
s_defaultStringHandlerAttributeIndexes
);
844
Debug.Assert(indexes !=
s_defaultStringHandlerAttributeIndexes
);
852
if (indexes ==
s_defaultStringHandlerAttributeIndexes
)
855
Debug.Assert(indexes !=
s_defaultStringHandlerAttributeIndexes
);
856
var initialized = ImmutableInterlocked.InterlockedCompareExchange(ref _lazyInterpolatedStringHandlerAttributeIndexes, value: indexes, comparand:
s_defaultStringHandlerAttributeIndexes
);
857
Debug.Assert(initialized ==
s_defaultStringHandlerAttributeIndexes
|| indexes == initialized || indexes.SequenceEqual(initialized));