124 references to GetOrAdd
ILCompiler.Compiler (124)
Compiler\DependencyAnalysis\NodeFactory.cs (85)
783return _asyncContinuationEETypes.GetOrAdd(continuation); 836return _asyncContinuationEETypes.GetOrAdd(continuation); 867return _importedTypeSymbols.GetOrAdd(type); 875return _nonGCStatics.GetOrAdd(type); 883return _GCStatics.GetOrAdd(type); 890return _GCStaticIndirectionNodes.GetOrAdd(type); 902return _threadStatics.GetOrAdd(type); 911return _typeThreadStaticIndices.GetOrAdd(type); 923return _dispatchCells.GetOrAdd(new DispatchCellKey(method, callSite)); 930return _runtimeMethodHandles.GetOrAdd(method); 937return _runtimeFieldHandles.GetOrAdd(field); 944return _dataflowAnalyzedMethods.GetOrAdd(new MethodILKey(methodIL)); 951return _dataflowAnalyzedTypeDefinitions.GetOrAdd(type); 958return _dynamicDependencyAttributesOnEntities.GetOrAdd(entity); 965return _embeddedTrimmingDescriptors.GetOrAdd(module); 973return _GCStaticEETypes.GetOrAdd((gcMap, requiredAlign8)); 980return _readOnlyDataBlobs.GetOrAdd(new ReadOnlyDataBlobKey(name, blobData, alignment)); 987return _fieldRvaDataBlobs.GetOrAdd(field); 994return _sealedVtableNodes.GetOrAdd(type); 1001return _interfaceDispatchMaps.GetOrAdd(type); 1008return _genericCompositions.GetOrAdd(details); 1015return _metadataEnabledGenericCompositions.GetOrAdd(details); 1022return _genericVariances.GetOrAdd(details); 1029return _externIndirectFunctionSymbols.GetOrAdd(name); 1035return _directPInvokes.GetOrAdd(method); 1042return _externDataSymbols.GetOrAdd(name); 1048return _externDataSymbols.GetOrAdd(mangledName); 1055return _pInvokeModuleFixups.GetOrAdd(moduleData); 1062return _pInvokeMethodFixups.GetOrAdd(methodData); 1092return _methodGenericDictionaries.GetOrAdd(method); 1098return _typeGenericDictionaries.GetOrAdd(type); 1104return _genericDictionaryLayouts.GetOrAdd(methodOrType); 1110return _stringAllocators.GetOrAdd(stringConstructor); 1143return _unboxingStubs.GetOrAdd(method); 1155return _tentativeMethodEntrypoints.GetOrAdd(method); 1165return _tentativeMethods.GetOrAdd((IMethodBodyNode)MethodEntrypoint(method, unboxingStub)); 1173return _methodAssociatedData.GetOrAdd(methodNode); 1180return _fatFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1190return _fatAddressTakenFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1223return _gvmDependenciesNode.GetOrAdd(method); 1229return _gvmImpls.GetOrAdd(method); 1235return _genericMethodEntries.GetOrAdd(method); 1241return _exactMethodEntries.GetOrAdd(method); 1247return _gvmTableEntries.GetOrAdd(type); 1256return _addressTakenMethods.GetOrAdd(method); 1262return _reflectedDelegateTargetMethods.GetOrAdd(method); 1268return _delegateTargetMethods.GetOrAdd(method); 1274return _reflectableVirtualMethodImpls.GetOrAdd((declaration, implementation)); 1284return _reflectedDelegates.GetOrAdd(type); 1290return _reflectedMethods.GetOrAdd(method); 1296return _reflectedFields.GetOrAdd(field); 1302return _reflectedTypes.GetOrAdd(type); 1308return _notReadOnlyFields.GetOrAdd(field); 1314return _genericStaticBaseInfos.GetOrAdd(type); 1320return _objectGetTypeCalled.GetOrAdd(type); 1326return _objectGetTypeFlowDependencies.GetOrAdd(type); 1444return _variantMethods.GetOrAdd(decl); 1451return _interfaceUses.GetOrAdd(type); 1458return _r2rHelpers.GetOrAdd(id); 1465return _readyToRunHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 1472return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1479return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1489return _typesWithMetadata.GetOrAdd(type); 1499return _methodsWithMetadata.GetOrAdd(method); 1509return _methodsWithLimitedMetadata.GetOrAdd(method); 1519return _fieldsWithMetadata.GetOrAdd(field); 1529return _propertiesWithMetadata.GetOrAdd(property); 1539return _eventsWithMetadata.GetOrAdd(@event); 1549return _modulesWithMetadata.GetOrAdd(module); 1555return _inlineableStringResources.GetOrAdd(module); 1565return _customAttributesWithMetadata.GetOrAdd(ca); 1575return _parametersWithMetadata.GetOrAdd(ca); 1582return _frozenStringNodes.GetOrAdd(data); 1589return _frozenObjectNodes.GetOrAdd(new SerializedFrozenObjectKey(owningType, allocationSiteId, data)); 1596return _frozenMetadataRuntimeTypeNodes.GetOrAdd(type); 1603return _frozenNecessaryRuntimeTypeNodes.GetOrAdd(type); 1610return _eagerCctorIndirectionNodes.GetOrAdd(cctorMethod); 1628return _delegateMarshalingDataNodes.GetOrAdd(type); 1635return _structMarshalingDataNodes.GetOrAdd(type); 1642return _externalTypeMapRequests.GetOrAdd(type); 1649return _proxyTypeMapRequests.GetOrAdd(type); 1655return _analysisCharacteristics.GetOrAdd(ch); 1664return _wasmTypeNodes.GetOrAdd(WasmLowering.GetSignature(desc).FuncType); 1669return _wasmTypeNodes.GetOrAdd(WasmLowering.GetSignature(node).FuncType); 1674return _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));