120 references to GetOrAdd
ILCompiler.Compiler (120)
Compiler\DependencyAnalysis\NodeFactory.cs (81)
754return _asyncContinuationEETypes.GetOrAdd(continuation); 807return _asyncContinuationEETypes.GetOrAdd(continuation); 830return _importedTypeSymbols.GetOrAdd(type); 838return _nonGCStatics.GetOrAdd(type); 846return _GCStatics.GetOrAdd(type); 853return _GCStaticIndirectionNodes.GetOrAdd(type); 865return _threadStatics.GetOrAdd(type); 874return _typeThreadStaticIndices.GetOrAdd(type); 886return _dispatchCells.GetOrAdd(new DispatchCellKey(method, callSite)); 893return _runtimeMethodHandles.GetOrAdd(method); 900return _runtimeFieldHandles.GetOrAdd(field); 907return _dataflowAnalyzedMethods.GetOrAdd(new MethodILKey(methodIL)); 914return _dataflowAnalyzedTypeDefinitions.GetOrAdd(type); 921return _dynamicDependencyAttributesOnEntities.GetOrAdd(entity); 928return _embeddedTrimmingDescriptors.GetOrAdd(module); 936return _GCStaticEETypes.GetOrAdd((gcMap, requiredAlign8)); 943return _readOnlyDataBlobs.GetOrAdd(new ReadOnlyDataBlobKey(name, blobData, alignment)); 950return _fieldRvaDataBlobs.GetOrAdd(field); 957return _sealedVtableNodes.GetOrAdd(type); 964return _interfaceDispatchMaps.GetOrAdd(type); 971return _genericCompositions.GetOrAdd(details); 978return _constructedGenericCompositions.GetOrAdd(details); 985return _genericVariances.GetOrAdd(details); 992return _externFunctionSymbols.GetOrAdd(name); 999return _externIndirectFunctionSymbols.GetOrAdd(name); 1006return _externDataSymbols.GetOrAdd(name); 1012return _externDataSymbols.GetOrAdd(mangledName); 1019return _pInvokeModuleFixups.GetOrAdd(moduleData); 1026return _pInvokeMethodFixups.GetOrAdd(methodData); 1056return _methodGenericDictionaries.GetOrAdd(method); 1062return _typeGenericDictionaries.GetOrAdd(type); 1068return _genericDictionaryLayouts.GetOrAdd(methodOrType); 1074return _stringAllocators.GetOrAdd(stringConstructor); 1107return _unboxingStubs.GetOrAdd(method); 1119return _tentativeMethodEntrypoints.GetOrAdd(method); 1129return _tentativeMethods.GetOrAdd((IMethodBodyNode)MethodEntrypoint(method, unboxingStub)); 1137return _methodAssociatedData.GetOrAdd(methodNode); 1144return _fatFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1154return _fatAddressTakenFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1187return _gvmDependenciesNode.GetOrAdd(method); 1193return _gvmImpls.GetOrAdd(method); 1199return _genericMethodEntries.GetOrAdd(method); 1205return _exactMethodEntries.GetOrAdd(method); 1211return _gvmTableEntries.GetOrAdd(type); 1220return _addressTakenMethods.GetOrAdd(method); 1226return _reflectedDelegateTargetMethods.GetOrAdd(method); 1232return _delegateTargetMethods.GetOrAdd(method); 1238return _reflectableVirtualMethodImpls.GetOrAdd((declaration, implementation)); 1248return _reflectedDelegates.GetOrAdd(type); 1254return _reflectedMethods.GetOrAdd(method); 1260return _reflectedFields.GetOrAdd(field); 1266return _reflectedTypes.GetOrAdd(type); 1272return _notReadOnlyFields.GetOrAdd(field); 1278return _genericStaticBaseInfos.GetOrAdd(type); 1284return _objectGetTypeCalled.GetOrAdd(type); 1290return _objectGetTypeFlowDependencies.GetOrAdd(type); 1408return _variantMethods.GetOrAdd(decl); 1415return _interfaceUses.GetOrAdd(type); 1422return _readyToRunHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 1429return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1436return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1446return _typesWithMetadata.GetOrAdd(type); 1456return _methodsWithMetadata.GetOrAdd(method); 1466return _methodsWithLimitedMetadata.GetOrAdd(method); 1476return _fieldsWithMetadata.GetOrAdd(field); 1486return _propertiesWithMetadata.GetOrAdd(property); 1496return _eventsWithMetadata.GetOrAdd(@event); 1506return _modulesWithMetadata.GetOrAdd(module); 1512return _inlineableStringResources.GetOrAdd(module); 1522return _customAttributesWithMetadata.GetOrAdd(ca); 1532return _parametersWithMetadata.GetOrAdd(ca); 1539return _frozenStringNodes.GetOrAdd(data); 1546return _frozenObjectNodes.GetOrAdd(new SerializedFrozenObjectKey(owningType, allocationSiteId, data)); 1553return _frozenMetadataRuntimeTypeNodes.GetOrAdd(type); 1560return _frozenNecessaryRuntimeTypeNodes.GetOrAdd(type); 1567return _eagerCctorIndirectionNodes.GetOrAdd(cctorMethod); 1585return _delegateMarshalingDataNodes.GetOrAdd(type); 1592return _structMarshalingDataNodes.GetOrAdd(type); 1599return _externalTypeMapRequests.GetOrAdd(type); 1606return _proxyTypeMapRequests.GetOrAdd(type); 1612return _analysisCharacteristics.GetOrAdd(ch);
Compiler\DependencyAnalysis\NodeFactory.GenericLookups.cs (15)
105return _typeSymbols.GetOrAdd(type); 112return _necessaryTypeSymbols.GetOrAdd(type); 119return _metadataTypeSymbols.GetOrAdd(type); 129return _unwrapNullableSymbols.GetOrAdd(type); 144return _methodHandles.GetOrAdd(method); 151return _fieldHandles.GetOrAdd(field); 158return _typeThreadStaticBaseIndexSymbols.GetOrAdd(type); 165return _typeGCStaticBaseSymbols.GetOrAdd(type); 172return _typeNonGCStaticBaseSymbols.GetOrAdd(type); 179return _methodDictionaries.GetOrAdd(method); 186return _dispatchCells.GetOrAdd(method); 193return _methodEntrypoints.GetOrAdd(new MethodKey(method, isUnboxingThunk)); 200return _objectAllocators.GetOrAdd(type); 207return _defaultCtors.GetOrAdd(type); 213return _constrainedMethodUses.GetOrAdd(new ConstrainedMethodUseKey(constrainedMethod, constraintType, directCall));
Compiler\DependencyAnalysis\NodeFactory.NativeLayout.cs (24)
217return _typeSignatures.GetOrAdd(type); 223return _methodSignatures.GetOrAdd(signature); 229return _placedSignatures.GetOrAdd(vertexNode); 279return _placedVertexSequence.GetOrAdd(new VertexSequenceKey(vertices)); 312return _placedUIntVertexSequence.GetOrAdd(uints); 318return _methodEntries.GetOrAdd(method); 324return _templateMethodEntries.GetOrAdd(method); 330return _templateMethodLayouts.GetOrAdd(method); 336return _templateTypeLayouts.GetOrAdd(GenericTypesTemplateMap.ConvertArrayOfTToRegularArray(_factory, type)); 342return _typeHandle_GenericDictionarySlots.GetOrAdd(type); 348return _gcStatic_GenericDictionarySlots.GetOrAdd(type); 354return _nonGcStatic_GenericDictionarySlots.GetOrAdd(type); 360return _unwrapNullable_GenericDictionarySlots.GetOrAdd(type); 366return _allocateObject_GenericDictionarySlots.GetOrAdd(type); 372return _threadStaticIndex_GenericDictionarySlots.GetOrAdd(type); 378return _defaultConstructor_GenericDictionarySlots.GetOrAdd(type); 384return _interfaceCell_GenericDictionarySlots.GetOrAdd(method); 390return _gvmCell_GenericDictionarySlots.GetOrAdd(method); 396return _methodDictionary_GenericDictionarySlots.GetOrAdd(method); 449return _methodEntrypoint_GenericDictionarySlots.GetOrAdd(new MethodEntrypointSlotKey(method, unboxing, functionPointerTarget)); 455return _fieldLdToken_GenericDictionarySlots.GetOrAdd(field); 461return _methodLdToken_GenericDictionarySlots.GetOrAdd(method); 467return _dictionarySignatures.GetOrAdd(owningMethodOrType); 473return _constrainedMethodUseSlots.GetOrAdd(new ConstrainedMethodUseKey(constrainedMethod, constraintType, directCall));