2 writes to _constrained
ILCompiler.Compiler (2)
IL\ILImporter.Scanner.cs (2)
296_constrained = null; 1241_constrained = (TypeDesc)_methodIL.GetObject(token);
17 references to _constrained
ILCompiler.Compiler (17)
IL\ILImporter.Scanner.cs (17)
624if (_constrained != null) 632TypeDesc constrained = _constrained; 674AddBoxingDependencies(_constrained, reason); 698if (_constrained != null && (!resolvedConstraint || forceUseRuntimeLookup)) 727TypeDesc constraintForDelegate = !resolvedConstraint || forceUseRuntimeLookup ? _constrained : null; 740var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 749if (_constrained.IsRuntimeDeterminedType) 750targetOfLookup = _compilation.TypeSystemContext.GetMethodForRuntimeDeterminedType(targetMethod.GetTypicalMethodDefinition(), (RuntimeDeterminedType)_constrained); 751else if (_constrained.HasInstantiation) 752targetOfLookup = _compilation.TypeSystemContext.GetMethodForInstantiatedType(targetMethod.GetTypicalMethodDefinition(), (InstantiatedType)_constrained); 840if (_constrained.IsRuntimeDeterminedSubtype) 841_dependencies.Add(GetGenericLookupHelper(ReadyToRunHelperId.TypeHandle, _constrained), reason); 843_dependencies.Add(_factory.ConstructedTypeSymbol(_constrained), reason); 877Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 886Debug.Assert(targetMethod.OwningType.IsInterface && targetMethod.IsVirtual && _constrained != null); 888var constrainedCallInfo = new ConstrainedCallInfo(_constrained, runtimeDeterminedMethod); 894ThrowHelper.ThrowTypeLoadException(_constrained);