2 writes to _constrained
ILCompiler.Compiler (2)
IL\ILImporter.Scanner.cs (2)
312_constrained = null; 1419_constrained = (TypeDesc)_methodIL.GetObject(token);
17 references to _constrained
ILCompiler.Compiler (17)
IL\ILImporter.Scanner.cs (17)
731if (_constrained != null) 739TypeDesc constrained = _constrained; 781AddBoxingDependencies(_constrained, reason); 805if (_constrained != null && (!resolvedConstraint || forceUseRuntimeLookup)) 834TypeDesc constraintForDelegate = !resolvedConstraint || forceUseRuntimeLookup ? _constrained : null; 847var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 856if (_constrained.IsRuntimeDeterminedType) 857targetOfLookup = _compilation.TypeSystemContext.GetMethodForRuntimeDeterminedType(targetMethod.GetTypicalMethodDefinition(), (RuntimeDeterminedType)_constrained); 858else if (_constrained.HasInstantiation) 859targetOfLookup = _compilation.TypeSystemContext.GetMethodForInstantiatedType(targetMethod.GetTypicalMethodDefinition(), (InstantiatedType)_constrained); 947if (_constrained.IsRuntimeDeterminedSubtype) 948_dependencies.Add(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, _constrained), reason); 950_dependencies.Add(_factory.ConstructedTypeSymbol(_constrained), reason); 984Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 993Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 995var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 1001ThrowHelper.ThrowTypeLoadException(_constrained);