118 references to GetOrAdd
ILCompiler.Compiler (118)
Compiler\DependencyAnalysis\NodeFactory.cs (80)
749return _asyncContinuationEETypes.GetOrAdd(continuation); 802return _asyncContinuationEETypes.GetOrAdd(continuation); 825return _importedTypeSymbols.GetOrAdd(type); 833return _nonGCStatics.GetOrAdd(type); 841return _GCStatics.GetOrAdd(type); 848return _GCStaticIndirectionNodes.GetOrAdd(type); 860return _threadStatics.GetOrAdd(type); 869return _typeThreadStaticIndices.GetOrAdd(type); 881return _interfaceDispatchCells.GetOrAdd(new DispatchCellKey(method, callSite)); 888return _runtimeMethodHandles.GetOrAdd(method); 895return _runtimeFieldHandles.GetOrAdd(field); 902return _dataflowAnalyzedMethods.GetOrAdd(new MethodILKey(methodIL)); 909return _dataflowAnalyzedTypeDefinitions.GetOrAdd(type); 916return _dynamicDependencyAttributesOnEntities.GetOrAdd(entity); 923return _embeddedTrimmingDescriptors.GetOrAdd(module); 931return _GCStaticEETypes.GetOrAdd((gcMap, requiredAlign8)); 938return _readOnlyDataBlobs.GetOrAdd(new ReadOnlyDataBlobKey(name, blobData, alignment)); 945return _fieldRvaDataBlobs.GetOrAdd(field); 952return _sealedVtableNodes.GetOrAdd(type); 959return _interfaceDispatchMaps.GetOrAdd(type); 966return _genericCompositions.GetOrAdd(details); 973return _constructedGenericCompositions.GetOrAdd(details); 980return _genericVariances.GetOrAdd(details); 987return _externFunctionSymbols.GetOrAdd(name); 994return _externIndirectFunctionSymbols.GetOrAdd(name); 1001return _externDataSymbols.GetOrAdd(name); 1007return _externDataSymbols.GetOrAdd(mangledName); 1014return _pInvokeModuleFixups.GetOrAdd(moduleData); 1021return _pInvokeMethodFixups.GetOrAdd(methodData); 1051return _methodGenericDictionaries.GetOrAdd(method); 1057return _typeGenericDictionaries.GetOrAdd(type); 1063return _genericDictionaryLayouts.GetOrAdd(methodOrType); 1069return _stringAllocators.GetOrAdd(stringConstructor); 1102return _unboxingStubs.GetOrAdd(method); 1114return _tentativeMethodEntrypoints.GetOrAdd(method); 1124return _tentativeMethods.GetOrAdd((IMethodBodyNode)MethodEntrypoint(method, unboxingStub)); 1132return _methodAssociatedData.GetOrAdd(methodNode); 1139return _fatFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1149return _fatAddressTakenFunctionPointers.GetOrAdd(new MethodKey(method, isUnboxingStub)); 1182return _gvmDependenciesNode.GetOrAdd(method); 1188return _gvmImpls.GetOrAdd(method); 1194return _genericMethodEntries.GetOrAdd(method); 1200return _exactMethodEntries.GetOrAdd(method); 1206return _gvmTableEntries.GetOrAdd(type); 1215return _addressTakenMethods.GetOrAdd(method); 1221return _reflectedDelegateTargetMethods.GetOrAdd(method); 1227return _delegateTargetMethods.GetOrAdd(method); 1237return _reflectedDelegates.GetOrAdd(type); 1243return _reflectedMethods.GetOrAdd(method); 1249return _reflectedFields.GetOrAdd(field); 1255return _reflectedTypes.GetOrAdd(type); 1261return _notReadOnlyFields.GetOrAdd(field); 1267return _genericStaticBaseInfos.GetOrAdd(type); 1273return _objectGetTypeCalled.GetOrAdd(type); 1279return _objectGetTypeFlowDependencies.GetOrAdd(type); 1397return _variantMethods.GetOrAdd(decl); 1404return _interfaceUses.GetOrAdd(type); 1411return _readyToRunHelpers.GetOrAdd(new ReadyToRunHelperKey(id, target)); 1418return _genericReadyToRunHelpersFromDict.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1425return _genericReadyToRunHelpersFromType.GetOrAdd(new ReadyToRunGenericHelperKey(id, target, dictionaryOwner)); 1435return _typesWithMetadata.GetOrAdd(type); 1445return _methodsWithMetadata.GetOrAdd(method); 1455return _methodsWithLimitedMetadata.GetOrAdd(method); 1465return _fieldsWithMetadata.GetOrAdd(field); 1475return _propertiesWithMetadata.GetOrAdd(property); 1485return _eventsWithMetadata.GetOrAdd(@event); 1495return _modulesWithMetadata.GetOrAdd(module); 1501return _inlineableStringResources.GetOrAdd(module); 1511return _customAttributesWithMetadata.GetOrAdd(ca); 1521return _parametersWithMetadata.GetOrAdd(ca); 1528return _frozenStringNodes.GetOrAdd(data); 1535return _frozenObjectNodes.GetOrAdd(new SerializedFrozenObjectKey(owningType, allocationSiteId, data)); 1542return _frozenMetadataRuntimeTypeNodes.GetOrAdd(type); 1549return _frozenNecessaryRuntimeTypeNodes.GetOrAdd(type); 1556return _eagerCctorIndirectionNodes.GetOrAdd(cctorMethod); 1574return _delegateMarshalingDataNodes.GetOrAdd(type); 1581return _structMarshalingDataNodes.GetOrAdd(type); 1588return _externalTypeMapRequests.GetOrAdd(type); 1595return _proxyTypeMapRequests.GetOrAdd(type); 1601return _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));