1 write to _uncommonFields
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
323return retVal ?? InterlockedOperations.Initialize(ref _uncommonFields, createUncommonFields());
19 references to _uncommonFields
Microsoft.CodeAnalysis.CSharp (19)
Symbols\Metadata\PE\PEMethodSymbol.cs (19)
288/// <item><see cref="_uncommonFields"/> is itself null. In this case, no race has occurred, and the consuming code can safely handle the lack of 289/// <see cref="_uncommonFields"/> however it chooses.</item> 290/// <item><see cref="_uncommonFields"/> is not null, and the backing field has been initialized to some empty value, such as 292/// <item><see cref="_uncommonFields"/> is not null, and the backing field is uninitialized, either being <see langword="default" />, or is some 322var retVal = _uncommonFields; 394/// Even for lazily-computed values, it may be possible to avoid allocating <see cref="_uncommonFields"/> if 396/// to indicate that the lazy values have been computed and, if <see cref="_uncommonFields"/> is null, then 440_uncommonFields?._lazyThisParameter ?? InterlockedOperations.Initialize(ref AccessUncommonFields()._lazyThisParameter, new ThisParameterSymbol(this)); 694var uncommonFields = _uncommonFields; 743var uncommonFields = _uncommonFields; 765var uncommonFields = _uncommonFields; 1063var uncommonFields = _uncommonFields; 1504return (_uncommonFields?._lazyCachedUseSiteInfo ?? default).ToUseSiteInfo(PrimaryDependency); 1538var uncommonFields = _uncommonFields; 1588var uncommonFields = _uncommonFields; 1623return _uncommonFields?._lazyUnmanagedCallersOnlyAttributeData; 1646var uncommonFields = _uncommonFields; 1717Debug.Assert(_uncommonFields is null or { _lazyOverloadResolutionPriority: 0 }); 1724return _uncommonFields?._lazyOverloadResolutionPriority;