1 write to _uncommonFields
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
339return retVal ?? InterlockedOperations.Initialize(ref _uncommonFields, createUncommonFields());
19 references to _uncommonFields
Microsoft.CodeAnalysis.CSharp (19)
Symbols\Metadata\PE\PEMethodSymbol.cs (19)
304/// <item><see cref="_uncommonFields"/> is itself null. In this case, no race has occurred, and the consuming code can safely handle the lack of 305/// <see cref="_uncommonFields"/> however it chooses.</item> 306/// <item><see cref="_uncommonFields"/> is not null, and the backing field has been initialized to some empty value, such as 308/// <item><see cref="_uncommonFields"/> is not null, and the backing field is uninitialized, either being <see langword="default" />, or is some 338var retVal = _uncommonFields; 410/// Even for lazily-computed values, it may be possible to avoid allocating <see cref="_uncommonFields"/> if 412/// to indicate that the lazy values have been computed and, if <see cref="_uncommonFields"/> is null, then 458_uncommonFields?._lazyThisParameter ?? InterlockedOperations.Initialize(ref AccessUncommonFields()._lazyThisParameter, new ThisParameterSymbol(this)); 725var uncommonFields = _uncommonFields; 774var uncommonFields = _uncommonFields; 796var uncommonFields = _uncommonFields; 1043var uncommonFields = _uncommonFields; 1629return (_uncommonFields?._lazyCachedUseSiteInfo ?? default).ToUseSiteInfo(PrimaryDependency); 1663var uncommonFields = _uncommonFields; 1713var uncommonFields = _uncommonFields; 1748return _uncommonFields?._lazyUnmanagedCallersOnlyAttributeData; 1773var uncommonFields = _uncommonFields; 1873Debug.Assert(_uncommonFields is null or { _lazyOverloadResolutionPriority: 0 }); 1880return _uncommonFields?._lazyOverloadResolutionPriority ?? 0;