69 references to GetOrCreateValue
ILCompiler.Compiler (48)
Compiler\Compilation.cs (1)
85return _methodILCache.GetOrCreateValue(method).MethodIL;
Compiler\CompilerTypeSystemContext.BoxedTypes.cs (4)
67BoxedValueType boxedTypeDefinition = _boxedValuetypeHashtable.GetOrCreateValue(typeKey); 73GenericUnboxingThunk thunkDefinition = _unboxingThunkHashtable.GetOrCreateValue(methodKey); 94BoxedValueType boxedTypeDefinition = _boxedValuetypeHashtable.GetOrCreateValue(typeKey); 100UnboxingThunk thunkDefinition = _nonGenericUnboxingThunkHashtable.GetOrCreateValue(methodKey);
Compiler\CompilerTypeSystemContext.DelegateInfo.cs (1)
44return _delegateInfoHashtable.GetOrCreateValue(delegateType);
Compiler\CompilerTypeSystemContext.DynamicInvoke.cs (1)
27return _dynamicInvokeThunks.GetOrCreateValue(
Compiler\CompilerTypeSystemContext.GetFieldMethodOverrides.cs (3)
40MethodDesc getFieldHelperMethod = _getFieldMethodHashtable.GetOrCreateValue((MetadataType)valueTypeDefinition); 63MethodDesc getFieldHelperMethod = _getFieldMethodHashtable.GetOrCreateValue((MetadataType)attributeTypeDefinition); 109return !_typeStateHashtable.GetOrCreateValue(valueType).CanCompareValueTypeBits;
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (1)
98MethodDesc thunk = _dimThunkHashtable.GetOrCreateValue(methodKey);
Compiler\Dataflow\FlowAnnotations.cs (1)
296return _hashtable.GetOrCreateValue(type);
Compiler\DependencyAnalysis\NodeFactory.cs (8)
759return _typeSymbols.GetOrCreateValue(type); 787return _metadataTypeSymbols.GetOrCreateValue(type); 812return _constructedTypeSymbols.GetOrCreateValue(type); 1050return _vTableNodes.GetOrCreateValue(type); 1110return _methodEntrypoints.GetOrCreateValue(method); 1308return _shadowConcreteMethods.GetOrCreateValue(method); 1326return _shadowNonConcreteMethods.GetOrCreateValue(method); 1401return _virtMethods.GetOrCreateValue(decl);
Compiler\ILScanner.cs (1)
164return _helperCache.GetOrCreateValue(helper).Symbol;
Compiler\ManifestResourceBlockingPolicy.cs (1)
39(_hashtable.GetOrCreateValue(ecmaModule).BlockedResources.Contains(resourceName)
Compiler\PreinitializationManager.cs (1)
136return _preinitHashTable.GetOrCreateValue(type);
Compiler\SubstitutionProvider.cs (3)
34AssemblyFeatureInfo info = _hashtable.GetOrCreateValue(ecmaMethod.Module); 115AssemblyFeatureInfo info = _hashtable.GetOrCreateValue(ecmaField.Module); 140Dictionary<string, string> dict = _hashtable.GetOrCreateValue(method.Module).InlineableResourceStrings;
Compiler\UsageBasedMetadataManager.cs (1)
801var moduleInfo = _linkAttributesHashTable.GetOrCreateValue(ecmaType.Module);
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.Async.cs (4)
195MethodDesc result = _asyncVariantHashtable.GetOrCreateValue((EcmaMethod)taskReturningMethodDefinition); 247MethodDesc result = _returnDroppingHashtable.GetOrCreateValue((AsyncMethodVariant)typicalMethodDefinition); 275return _asyncResumptionStubHashtable.GetOrCreateValue(new AsyncResumptionStubKey(targetMethod, owningType)); 314return _continuationTypeHashtable.GetOrCreateValue(pointerMap);
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
197_validTypes.GetOrCreateValue(typeLoadabilityCheck.TypeInLoadabilityCheck); 200_validTypes.GetOrCreateValue(type);
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\ModuleCycleInfo.cs (1)
223cycleInfo = _hashtable.GetOrCreateValue(ownerModule);
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\Stubs\AssemblyGetExecutingAssemblyMethodThunk.cs (1)
100return _cache.GetOrCreateValue(executingAssembly);
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (1)
107return _cache.GetOrCreateValue(currentMethod.GetTypicalMethodDefinition());
src\runtime\src\coreclr\tools\Common\TypeSystem\IL\Stubs\TypeGetTypeMethodThunk.cs (1)
123return _cache.GetOrCreateValue(new Key(defaultAssemblyName, getTypeOverload));
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\InteropStateManager.cs (11)
56return _delegateMarshallingThunkHashtable.GetOrCreateValue(stubKey); 74return _delegateMarshallingThunkHashtable.GetOrCreateValue(stubKey); 90return _forwardDelegateCreationStubHashtable.GetOrCreateValue((MetadataType)delegateType); 103return _pInvokeDelegateWrapperHashtable.GetOrCreateValue((MetadataType)delegateType); 127return _nativeStructHashtable.GetOrCreateValue((MetadataType)managedType); 143return _structMarshallingThunkHashtable.GetOrCreateValue(methodKey); 159return _structMarshallingThunkHashtable.GetOrCreateValue(methodKey); 175return _structMarshallingThunkHashtable.GetOrCreateValue(methodKey); 180return _inlineArrayHashtable.GetOrCreateValue(candidate); 185return _pInvokeLazyFixupFieldHashtable.GetOrCreateValue(new(method, nativeSig)); 194return _pInvokeCalliHashtable.GetOrCreateValue(new CalliMarshallingMethodThunkKey(normalizedSignatureBuilder.ToSignature(), MarshalHelpers.IsRuntimeMarshallingEnabled(moduleContext)));
ILCompiler.ReadyToRun (9)
Compiler\ReadyToRunCodegenCompilation.cs (1)
120return _methodILCache.GetOrCreateValue(method).MethodIL;
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (1)
59ModuleFieldLayout moduleFieldLayout = _moduleFieldLayoutMap.GetOrCreateValue(ecmaType.Module);
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.Async.cs (4)
195MethodDesc result = _asyncVariantHashtable.GetOrCreateValue((EcmaMethod)taskReturningMethodDefinition); 247MethodDesc result = _returnDroppingHashtable.GetOrCreateValue((AsyncMethodVariant)typicalMethodDefinition); 275return _asyncResumptionStubHashtable.GetOrCreateValue(new AsyncResumptionStubKey(targetMethod, owningType)); 314return _continuationTypeHashtable.GetOrCreateValue(pointerMap);
src\runtime\src\coreclr\tools\Common\Compiler\CompilerTypeSystemContext.Validation.cs (2)
197_validTypes.GetOrCreateValue(typeLoadabilityCheck.TypeInLoadabilityCheck); 200_validTypes.GetOrCreateValue(type);
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\ModuleCycleInfo.cs (1)
223cycleInfo = _hashtable.GetOrCreateValue(ownerModule);
ILCompiler.TypeSystem (12)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeSystemContext.cs (9)
131return _arrayTypes.GetOrCreateValue(new ArrayTypeKey(elementType, rank)); 169return _byRefTypes.GetOrCreateValue(parameterType); 207return _pointerTypes.GetOrCreateValue(parameterType); 249return _functionPointerTypes.GetOrCreateValue(signature); 345return _instantiatedTypes.GetOrCreateValue(new InstantiatedTypeKey(typeDef, instantiation)); 445return _instantiatedMethods.GetOrCreateValue(new InstantiatedMethodKey(methodDef, instantiation)); 520return _methodForInstantiatedTypes.GetOrCreateValue(new MethodForInstantiatedTypeKey(typicalMethodDef, instantiatedType)); 590return _fieldForInstantiatedTypes.GetOrCreateValue(new FieldForInstantiatedTypeKey(fieldDef, instantiatedType)); 648return _signatureVariables.GetOrCreateValue(combinedIndex);
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaModule.cs (1)
516IEntityHandleObject obj = _resolvedTokens.GetOrCreateValue(handle);
src\runtime\src\coreclr\tools\Common\TypeSystem\RuntimeDetermined\TypeSystemContext.RuntimeDetermined.cs (2)
58return _runtimeDeterminedTypes.GetOrCreateValue(new RuntimeDeterminedTypeKey(plainCanonType, detailsType)); 138return _methodForRDTypes.GetOrCreateValue(new MethodForRuntimeDeterminedTypeKey(typicalMethodDef, rdType));