14 references to GetOrAdd
Microsoft.CodeAnalysis (14)
Emit\EditAndContinue\DeltaMetadataWriter.cs (7)
411return MetadataTokens.AssemblyReferenceHandle(_assemblyRefIndex.GetOrAdd(identity)); 421return MetadataTokens.ModuleReferenceHandle(_moduleRefIndex.GetOrAdd(reference)); 431return MetadataTokens.MemberReferenceHandle(_memberRefIndex.GetOrAdd(reference)); 441return MetadataTokens.MethodSpecificationHandle(_methodSpecIndex.GetOrAdd(reference)); 461return MetadataTokens.TypeReferenceHandle(_typeRefIndex.GetOrAdd(reference)); 471return MetadataTokens.TypeSpecificationHandle(_typeSpecIndex.GetOrAdd(reference)); 481return MetadataTokens.StandaloneSignatureHandle(_standAloneSignatureIndex.GetOrAdd(blobIndex));
PEWriter\FullMetadataWriter.cs (7)
237return MetadataTokens.AssemblyReferenceHandle(_assemblyRefIndex.GetOrAdd(reference.Identity)); 247return MetadataTokens.ModuleReferenceHandle(_moduleRefIndex.GetOrAdd(reference)); 257return MetadataTokens.MemberReferenceHandle(_memberRefIndex.GetOrAdd(reference)); 267return MetadataTokens.MethodSpecificationHandle(_methodSpecIndex.GetOrAdd(reference)); 287return MetadataTokens.TypeReferenceHandle(_typeRefIndex.GetOrAdd(reference)); 297return MetadataTokens.TypeSpecificationHandle(_typeSpecIndex.GetOrAdd(reference)); 307return MetadataTokens.StandaloneSignatureHandle(_standAloneSignatureIndex.GetOrAdd(blobIndex));