2 writes to _constrained
ILCompiler.Compiler (2)
IL\ILImporter.Scanner.cs (2)
293_constrained = null; 1210_constrained = (TypeDesc)_methodIL.GetObject(token);
17 references to _constrained
ILCompiler.Compiler (17)
IL\ILImporter.Scanner.cs (17)
615if (_constrained != null) 623TypeDesc constrained = _constrained; 665AddBoxingDependencies(_constrained, reason); 689if (_constrained != null && (!resolvedConstraint || forceUseRuntimeLookup)) 718TypeDesc constraintForDelegate = !resolvedConstraint || forceUseRuntimeLookup ? _constrained : null; 731var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 740if (_constrained.IsRuntimeDeterminedType) 741targetOfLookup = _compilation.TypeSystemContext.GetMethodForRuntimeDeterminedType(targetMethod.GetTypicalMethodDefinition(), (RuntimeDeterminedType)_constrained); 742else if (_constrained.HasInstantiation) 743targetOfLookup = _compilation.TypeSystemContext.GetMethodForInstantiatedType(targetMethod.GetTypicalMethodDefinition(), (InstantiatedType)_constrained); 831if (_constrained.IsRuntimeDeterminedSubtype) 832_dependencies.Add(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, _constrained), reason); 834_dependencies.Add(_factory.ConstructedTypeSymbol(_constrained), reason); 868Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 877Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 879var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 885ThrowHelper.ThrowTypeLoadException(_constrained);