118 references to GetOrAdd
ILCompiler.Compiler (118)
Compiler\DependencyAnalysis\NodeFactory.cs (80)
756return _asyncContinuationEETypes.GetOrAdd(continuation); 809return _asyncContinuationEETypes.GetOrAdd(continuation); 832return _importedTypeSymbols.GetOrAdd(type); 840return _nonGCStatics.GetOrAdd(type); 848return _GCStatics.GetOrAdd(type); 855return _GCStaticIndirectionNodes.GetOrAdd(type); 867return _threadStatics.GetOrAdd(type); 876return _typeThreadStaticIndices.GetOrAdd(type); 888return _interfaceDispatchCells.GetOrAdd(new DispatchCellKey(method, callSite)); 895return _runtimeMethodHandles.GetOrAdd(method); 902return _runtimeFieldHandles.GetOrAdd(field); 909return _dataflowAnalyzedMethods.GetOrAdd(new MethodILKey(methodIL)); 916return _dataflowAnalyzedTypeDefinitions.GetOrAdd(type); 923return _dynamicDependencyAttributesOnEntities.GetOrAdd(entity); 930return _embeddedTrimmingDescriptors.GetOrAdd(module); 938return _GCStaticEETypes.GetOrAdd((gcMap, requiredAlign8)); 945return _readOnlyDataBlobs.GetOrAdd(new ReadOnlyDataBlobKey(name, blobData, alignment)); 952return _fieldRvaDataBlobs.GetOrAdd(field); 959return _sealedVtableNodes.GetOrAdd(type); 966return _interfaceDispatchMaps.GetOrAdd(type); 973return _genericCompositions.GetOrAdd(details); 980return _constructedGenericCompositions.GetOrAdd(details); 987return _genericVariances.GetOrAdd(details); 994return _externFunctionSymbols.GetOrAdd(name); 1001return _externIndirectFunctionSymbols.GetOrAdd(name); 1008return _externDataSymbols.GetOrAdd(name); 1014return _externDataSymbols.GetOrAdd(mangledName); 1021return _pInvokeModuleFixups.GetOrAdd(moduleData); 1028return _pInvokeMethodFixups.GetOrAdd(methodData); 1058return _methodGenericDictionaries.GetOrAdd(method); 1064return _typeGenericDictionaries.GetOrAdd(type); 1070return _genericDictionaryLayouts.GetOrAdd(methodOrType); 1076return _stringAllocators.GetOrAdd(stringConstructor); 1109return _unboxingStubs.GetOrAdd(method); 1121return _tentativeMethodEntrypoints.GetOrAdd(method); 1131return _tentativeMethods.GetOrAdd((IMethodBodyNode)MethodEntrypoint(method, unboxingStub)); 1139return _methodAssociatedData.GetOrAdd(methodNode); 1146return _fatFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1156return _fatAddressTakenFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1189return _gvmDependenciesNode.GetOrAdd(method); 1195return _gvmImpls.GetOrAdd(method); 1201return _genericMethodEntries.GetOrAdd(method); 1207return _exactMethodEntries.GetOrAdd(method); 1213return _gvmTableEntries.GetOrAdd(type); 1222return _addressTakenMethods.GetOrAdd(method); 1228return _reflectedDelegateTargetMethods.GetOrAdd(method); 1234return _delegateTargetMethods.GetOrAdd(method); 1244return _reflectedDelegates.GetOrAdd(type); 1250return _reflectedMethods.GetOrAdd(method); 1256return _reflectedFields.GetOrAdd(field); 1262return _reflectedTypes.GetOrAdd(type); 1268return _notReadOnlyFields.GetOrAdd(field); 1274return _genericStaticBaseInfos.GetOrAdd(type); 1280return _objectGetTypeCalled.GetOrAdd(type); 1286return _objectGetTypeFlowDependencies.GetOrAdd(type); 1404return _variantMethods.GetOrAdd(decl); 1411return _interfaceUses.GetOrAdd(type); 1418return _readyToRunHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 1425return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1432return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1442return _typesWithMetadata.GetOrAdd(type); 1452return _methodsWithMetadata.GetOrAdd(method); 1462return _methodsWithLimitedMetadata.GetOrAdd(method); 1472return _fieldsWithMetadata.GetOrAdd(field); 1482return _propertiesWithMetadata.GetOrAdd(property); 1492return _eventsWithMetadata.GetOrAdd(@event); 1502return _modulesWithMetadata.GetOrAdd(module); 1508return _inlineableStringResources.GetOrAdd(module); 1518return _customAttributesWithMetadata.GetOrAdd(ca); 1528return _parametersWithMetadata.GetOrAdd(ca); 1535return _frozenStringNodes.GetOrAdd(data); 1542return _frozenObjectNodes.GetOrAdd(new SerializedFrozenObjectKey(owningType, allocationSiteId, data)); 1549return _frozenMetadataRuntimeTypeNodes.GetOrAdd(type); 1556return _frozenNecessaryRuntimeTypeNodes.GetOrAdd(type); 1563return _eagerCctorIndirectionNodes.GetOrAdd(cctorMethod); 1581return _delegateMarshalingDataNodes.GetOrAdd(type); 1588return _structMarshalingDataNodes.GetOrAdd(type); 1595return _externalTypeMapRequests.GetOrAdd(type); 1602return _proxyTypeMapRequests.GetOrAdd(type); 1608return _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 _virtualDispatchCells.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 (23)
212return _typeSignatures.GetOrAdd(type); 218return _methodSignatures.GetOrAdd(signature); 224return _placedSignatures.GetOrAdd(vertexNode); 274return _placedVertexSequence.GetOrAdd(new VertexSequenceKey(vertices)); 307return _placedUIntVertexSequence.GetOrAdd(uints); 313return _methodEntries.GetOrAdd(method); 319return _templateMethodEntries.GetOrAdd(method); 325return _templateMethodLayouts.GetOrAdd(method); 331return _templateTypeLayouts.GetOrAdd(GenericTypesTemplateMap.ConvertArrayOfTToRegularArray(_factory, type)); 337return _typeHandle_GenericDictionarySlots.GetOrAdd(type); 343return _gcStatic_GenericDictionarySlots.GetOrAdd(type); 349return _nonGcStatic_GenericDictionarySlots.GetOrAdd(type); 355return _unwrapNullable_GenericDictionarySlots.GetOrAdd(type); 361return _allocateObject_GenericDictionarySlots.GetOrAdd(type); 367return _threadStaticIndex_GenericDictionarySlots.GetOrAdd(type); 373return _defaultConstructor_GenericDictionarySlots.GetOrAdd(type); 379return _interfaceCell_GenericDictionarySlots.GetOrAdd(method); 385return _methodDictionary_GenericDictionarySlots.GetOrAdd(method); 438return _methodEntrypoint_GenericDictionarySlots.GetOrAdd(new MethodEntrypointSlotKey(method, unboxing, functionPointerTarget)); 444return _fieldLdToken_GenericDictionarySlots.GetOrAdd(field); 450return _methodLdToken_GenericDictionarySlots.GetOrAdd(method); 456return _dictionarySignatures.GetOrAdd(owningMethodOrType); 462return _constrainedMethodUseSlots.GetOrAdd(new ConstrainedMethodUseKey(constrainedMethod, constraintType, directCall));