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