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)); 714var uncommonFields = _uncommonFields; 763var uncommonFields = _uncommonFields; 785var uncommonFields = _uncommonFields; 1032var uncommonFields = _uncommonFields; 1611return (_uncommonFields?._lazyCachedUseSiteInfo ?? default).ToUseSiteInfo(PrimaryDependency); 1645var uncommonFields = _uncommonFields; 1695var uncommonFields = _uncommonFields; 1730return _uncommonFields?._lazyUnmanagedCallersOnlyAttributeData; 1755var uncommonFields = _uncommonFields; 1855Debug.Assert(_uncommonFields is null or { _lazyOverloadResolutionPriority: 0 }); 1862return _uncommonFields?._lazyOverloadResolutionPriority ?? 0;