2 writes to _constrained
ILCompiler.Compiler (2)
IL\ILImporter.Scanner.cs (2)
313_constrained = null; 1422_constrained = (TypeDesc)_methodIL.GetObject(token);
17 references to _constrained
ILCompiler.Compiler (17)
IL\ILImporter.Scanner.cs (17)
732if (_constrained != null) 740TypeDesc constrained = _constrained; 782AddBoxingDependencies(_constrained, reason); 806if (_constrained != null && (!resolvedConstraint || forceUseRuntimeLookup)) 835TypeDesc constraintForDelegate = !resolvedConstraint || forceUseRuntimeLookup ? _constrained : null; 848var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 857if (_constrained.IsRuntimeDeterminedType) 858targetOfLookup = _compilation.TypeSystemContext.GetMethodForRuntimeDeterminedType(targetMethod.GetTypicalMethodDefinition(), (RuntimeDeterminedType)_constrained); 859else if (_constrained.HasInstantiation) 860targetOfLookup = _compilation.TypeSystemContext.GetMethodForInstantiatedType(targetMethod.GetTypicalMethodDefinition(), (InstantiatedType)_constrained); 948if (_constrained.IsRuntimeDeterminedSubtype) 949_dependencies.Add(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, _constrained), reason); 951_dependencies.Add(_factory.ConstructedTypeSymbol(_constrained), reason); 985Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 994Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 996var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 1002ThrowHelper.ThrowTypeLoadException(_constrained);