2 writes to _constrained
ILCompiler.Compiler (2)
IL\ILImporter.Scanner.cs (2)
308_constrained = null; 1330_constrained = (TypeDesc)_methodIL.GetObject(token);
17 references to _constrained
ILCompiler.Compiler (17)
IL\ILImporter.Scanner.cs (17)
713if (_constrained != null) 721TypeDesc constrained = _constrained; 763AddBoxingDependencies(_constrained, reason); 787if (_constrained != null && (!resolvedConstraint || forceUseRuntimeLookup)) 816TypeDesc constraintForDelegate = !resolvedConstraint || forceUseRuntimeLookup ? _constrained : null; 829var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 838if (_constrained.IsRuntimeDeterminedType) 839targetOfLookup = _compilation.TypeSystemContext.GetMethodForRuntimeDeterminedType(targetMethod.GetTypicalMethodDefinition(), (RuntimeDeterminedType)_constrained); 840else if (_constrained.HasInstantiation) 841targetOfLookup = _compilation.TypeSystemContext.GetMethodForInstantiatedType(targetMethod.GetTypicalMethodDefinition(), (InstantiatedType)_constrained); 929if (_constrained.IsRuntimeDeterminedSubtype) 930_dependencies.Add(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, _constrained), reason); 932_dependencies.Add(_factory.ConstructedTypeSymbol(_constrained), reason); 966Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 975Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 977var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 983ThrowHelper.ThrowTypeLoadException(_constrained);