1 write to _uncommonFields
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
324return retVal ?? InterlockedOperations.Initialize(ref _uncommonFields, createUncommonFields());
19 references to _uncommonFields
Microsoft.CodeAnalysis.CSharp (19)
Symbols\Metadata\PE\PEMethodSymbol.cs (19)
289/// <item><see cref="_uncommonFields"/> is itself null. In this case, no race has occurred, and the consuming code can safely handle the lack of 290/// <see cref="_uncommonFields"/> however it chooses.</item> 291/// <item><see cref="_uncommonFields"/> is not null, and the backing field has been initialized to some empty value, such as 293/// <item><see cref="_uncommonFields"/> is not null, and the backing field is uninitialized, either being <see langword="default" />, or is some 323var retVal = _uncommonFields; 395/// Even for lazily-computed values, it may be possible to avoid allocating <see cref="_uncommonFields"/> if 397/// to indicate that the lazy values have been computed and, if <see cref="_uncommonFields"/> is null, then 443_uncommonFields?._lazyThisParameter ?? InterlockedOperations.Initialize(ref AccessUncommonFields()._lazyThisParameter, new ThisParameterSymbol(this)); 699var uncommonFields = _uncommonFields; 748var uncommonFields = _uncommonFields; 770var uncommonFields = _uncommonFields; 1016var uncommonFields = _uncommonFields; 1563return (_uncommonFields?._lazyCachedUseSiteInfo ?? default).ToUseSiteInfo(PrimaryDependency); 1597var uncommonFields = _uncommonFields; 1647var uncommonFields = _uncommonFields; 1682return _uncommonFields?._lazyUnmanagedCallersOnlyAttributeData; 1707var uncommonFields = _uncommonFields; 1779Debug.Assert(_uncommonFields is null or { _lazyOverloadResolutionPriority: 0 }); 1786return _uncommonFields?._lazyOverloadResolutionPriority ?? 0;