124 references to GetOrAdd
ILCompiler.Compiler (124)
Compiler\DependencyAnalysis\NodeFactory.cs (85)
785return _asyncContinuationEETypes.GetOrAdd(continuation); 838return _asyncContinuationEETypes.GetOrAdd(continuation); 869return _importedTypeSymbols.GetOrAdd(type); 877return _nonGCStatics.GetOrAdd(type); 885return _GCStatics.GetOrAdd(type); 892return _GCStaticIndirectionNodes.GetOrAdd(type); 904return _threadStatics.GetOrAdd(type); 913return _typeThreadStaticIndices.GetOrAdd(type); 925return _dispatchCells.GetOrAdd(new DispatchCellKey(method, callSite)); 932return _runtimeMethodHandles.GetOrAdd(method); 939return _runtimeFieldHandles.GetOrAdd(field); 946return _dataflowAnalyzedMethods.GetOrAdd(new MethodILKey(methodIL)); 953return _dataflowAnalyzedTypeDefinitions.GetOrAdd(type); 960return _dynamicDependencyAttributesOnEntities.GetOrAdd(entity); 967return _embeddedTrimmingDescriptors.GetOrAdd(module); 975return _GCStaticEETypes.GetOrAdd((gcMap, requiredAlign8)); 982return _readOnlyDataBlobs.GetOrAdd(new ReadOnlyDataBlobKey(name, blobData, alignment)); 989return _fieldRvaDataBlobs.GetOrAdd(field); 996return _sealedVtableNodes.GetOrAdd(type); 1003return _interfaceDispatchMaps.GetOrAdd(type); 1010return _genericCompositions.GetOrAdd(details); 1017return _metadataEnabledGenericCompositions.GetOrAdd(details); 1024return _genericVariances.GetOrAdd(details); 1031return _externIndirectFunctionSymbols.GetOrAdd(name); 1037return _directPInvokes.GetOrAdd(method); 1044return _externDataSymbols.GetOrAdd(name); 1050return _externDataSymbols.GetOrAdd(mangledName); 1057return _pInvokeModuleFixups.GetOrAdd(moduleData); 1064return _pInvokeMethodFixups.GetOrAdd(methodData); 1094return _methodGenericDictionaries.GetOrAdd(method); 1100return _typeGenericDictionaries.GetOrAdd(type); 1106return _genericDictionaryLayouts.GetOrAdd(methodOrType); 1112return _stringAllocators.GetOrAdd(stringConstructor); 1145return _unboxingStubs.GetOrAdd(method); 1157return _tentativeMethodEntrypoints.GetOrAdd(method); 1167return _tentativeMethods.GetOrAdd((IMethodBodyNode)MethodEntrypoint(method, unboxingStub)); 1175return _methodAssociatedData.GetOrAdd(methodNode); 1182return _fatFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1192return _fatAddressTakenFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1225return _gvmDependenciesNode.GetOrAdd(method); 1231return _gvmImpls.GetOrAdd(method); 1237return _genericMethodEntries.GetOrAdd(method); 1243return _exactMethodEntries.GetOrAdd(method); 1249return _gvmTableEntries.GetOrAdd(type); 1258return _addressTakenMethods.GetOrAdd(method); 1264return _reflectedDelegateTargetMethods.GetOrAdd(method); 1270return _delegateTargetMethods.GetOrAdd(method); 1276return _reflectableVirtualMethodImpls.GetOrAdd((declaration, implementation)); 1286return _reflectedDelegates.GetOrAdd(type); 1292return _reflectedMethods.GetOrAdd(method); 1298return _reflectedFields.GetOrAdd(field); 1304return _reflectedTypes.GetOrAdd(type); 1310return _notReadOnlyFields.GetOrAdd(field); 1316return _genericStaticBaseInfos.GetOrAdd(type); 1322return _objectGetTypeCalled.GetOrAdd(type); 1328return _objectGetTypeFlowDependencies.GetOrAdd(type); 1446return _variantMethods.GetOrAdd(decl); 1453return _interfaceUses.GetOrAdd(type); 1460return _r2rHelpers.GetOrAdd(id); 1467return _readyToRunHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 1474return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1481return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1491return _typesWithMetadata.GetOrAdd(type); 1501return _methodsWithMetadata.GetOrAdd(method); 1511return _methodsWithLimitedMetadata.GetOrAdd(method); 1521return _fieldsWithMetadata.GetOrAdd(field); 1531return _propertiesWithMetadata.GetOrAdd(property); 1541return _eventsWithMetadata.GetOrAdd(@event); 1551return _modulesWithMetadata.GetOrAdd(module); 1557return _inlineableStringResources.GetOrAdd(module); 1567return _customAttributesWithMetadata.GetOrAdd(ca); 1577return _parametersWithMetadata.GetOrAdd(ca); 1584return _frozenStringNodes.GetOrAdd(data); 1591return _frozenObjectNodes.GetOrAdd(new SerializedFrozenObjectKey(owningType, allocationSiteId, data)); 1598return _frozenMetadataRuntimeTypeNodes.GetOrAdd(type); 1605return _frozenNecessaryRuntimeTypeNodes.GetOrAdd(type); 1612return _eagerCctorIndirectionNodes.GetOrAdd(cctorMethod); 1630return _delegateMarshalingDataNodes.GetOrAdd(type); 1637return _structMarshalingDataNodes.GetOrAdd(type); 1644return _externalTypeMapRequests.GetOrAdd(type); 1651return _proxyTypeMapRequests.GetOrAdd(type); 1657return _analysisCharacteristics.GetOrAdd(ch); 1666return _wasmTypeNodes.GetOrAdd(WasmLowering.GetSignature(desc).FuncType); 1671return _wasmTypeNodes.GetOrAdd(WasmLowering.GetSignature(node).FuncType); 1676return _wasmTypeNodes.GetOrAdd(WasmFuncType.FromCorInfoSignature(types));
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));