124 references to GetOrAdd
ILCompiler.Compiler (124)
Compiler\DependencyAnalysis\NodeFactory.cs (85)
768return _asyncContinuationEETypes.GetOrAdd(continuation); 821return _asyncContinuationEETypes.GetOrAdd(continuation); 852return _importedTypeSymbols.GetOrAdd(type); 860return _nonGCStatics.GetOrAdd(type); 868return _GCStatics.GetOrAdd(type); 875return _GCStaticIndirectionNodes.GetOrAdd(type); 887return _threadStatics.GetOrAdd(type); 896return _typeThreadStaticIndices.GetOrAdd(type); 908return _dispatchCells.GetOrAdd(new DispatchCellKey(method, callSite)); 915return _runtimeMethodHandles.GetOrAdd(method); 922return _runtimeFieldHandles.GetOrAdd(field); 929return _dataflowAnalyzedMethods.GetOrAdd(new MethodILKey(methodIL)); 936return _dataflowAnalyzedTypeDefinitions.GetOrAdd(type); 943return _dynamicDependencyAttributesOnEntities.GetOrAdd(entity); 950return _embeddedTrimmingDescriptors.GetOrAdd(module); 958return _GCStaticEETypes.GetOrAdd((gcMap, requiredAlign8)); 965return _readOnlyDataBlobs.GetOrAdd(new ReadOnlyDataBlobKey(name, blobData, alignment)); 972return _fieldRvaDataBlobs.GetOrAdd(field); 979return _sealedVtableNodes.GetOrAdd(type); 986return _interfaceDispatchMaps.GetOrAdd(type); 993return _genericCompositions.GetOrAdd(details); 1000return _metadataEnabledGenericCompositions.GetOrAdd(details); 1007return _genericVariances.GetOrAdd(details); 1014return _externIndirectFunctionSymbols.GetOrAdd(name); 1020return _directPInvokes.GetOrAdd(method); 1027return _externDataSymbols.GetOrAdd(name); 1033return _externDataSymbols.GetOrAdd(mangledName); 1040return _pInvokeModuleFixups.GetOrAdd(moduleData); 1047return _pInvokeMethodFixups.GetOrAdd(methodData); 1077return _methodGenericDictionaries.GetOrAdd(method); 1083return _typeGenericDictionaries.GetOrAdd(type); 1089return _genericDictionaryLayouts.GetOrAdd(methodOrType); 1095return _stringAllocators.GetOrAdd(stringConstructor); 1128return _unboxingStubs.GetOrAdd(method); 1140return _tentativeMethodEntrypoints.GetOrAdd(method); 1150return _tentativeMethods.GetOrAdd((IMethodBodyNode)MethodEntrypoint(method, unboxingStub)); 1158return _methodAssociatedData.GetOrAdd(methodNode); 1165return _fatFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1175return _fatAddressTakenFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1208return _gvmDependenciesNode.GetOrAdd(method); 1214return _gvmImpls.GetOrAdd(method); 1220return _genericMethodEntries.GetOrAdd(method); 1226return _exactMethodEntries.GetOrAdd(method); 1232return _gvmTableEntries.GetOrAdd(type); 1241return _addressTakenMethods.GetOrAdd(method); 1247return _reflectedDelegateTargetMethods.GetOrAdd(method); 1253return _delegateTargetMethods.GetOrAdd(method); 1259return _reflectableVirtualMethodImpls.GetOrAdd((declaration, implementation)); 1269return _reflectedDelegates.GetOrAdd(type); 1275return _reflectedMethods.GetOrAdd(method); 1281return _reflectedFields.GetOrAdd(field); 1287return _reflectedTypes.GetOrAdd(type); 1293return _notReadOnlyFields.GetOrAdd(field); 1299return _genericStaticBaseInfos.GetOrAdd(type); 1305return _objectGetTypeCalled.GetOrAdd(type); 1311return _objectGetTypeFlowDependencies.GetOrAdd(type); 1429return _variantMethods.GetOrAdd(decl); 1436return _interfaceUses.GetOrAdd(type); 1443return _r2rHelpers.GetOrAdd(id); 1450return _readyToRunHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 1457return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1464return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1474return _typesWithMetadata.GetOrAdd(type); 1484return _methodsWithMetadata.GetOrAdd(method); 1494return _methodsWithLimitedMetadata.GetOrAdd(method); 1504return _fieldsWithMetadata.GetOrAdd(field); 1514return _propertiesWithMetadata.GetOrAdd(property); 1524return _eventsWithMetadata.GetOrAdd(@event); 1534return _modulesWithMetadata.GetOrAdd(module); 1540return _inlineableStringResources.GetOrAdd(module); 1550return _customAttributesWithMetadata.GetOrAdd(ca); 1560return _parametersWithMetadata.GetOrAdd(ca); 1567return _frozenStringNodes.GetOrAdd(data); 1574return _frozenObjectNodes.GetOrAdd(new SerializedFrozenObjectKey(owningType, allocationSiteId, data)); 1581return _frozenMetadataRuntimeTypeNodes.GetOrAdd(type); 1588return _frozenNecessaryRuntimeTypeNodes.GetOrAdd(type); 1595return _eagerCctorIndirectionNodes.GetOrAdd(cctorMethod); 1613return _delegateMarshalingDataNodes.GetOrAdd(type); 1620return _structMarshalingDataNodes.GetOrAdd(type); 1627return _externalTypeMapRequests.GetOrAdd(type); 1634return _proxyTypeMapRequests.GetOrAdd(type); 1640return _analysisCharacteristics.GetOrAdd(ch); 1649return _wasmTypeNodes.GetOrAdd(WasmLowering.GetSignature(desc).FuncType); 1654return _wasmTypeNodes.GetOrAdd(WasmLowering.GetSignature(node).FuncType); 1659return _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));