6 references to TypeUtils
Microsoft.CSharp (6)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComInvokeBinder.cs (2)
59
Debug.Assert(
TypeUtils
.AreReferenceAssignable(typeof(ComMethodDesc), method.Type));
60
Debug.Assert(
TypeUtils
.AreReferenceAssignable(typeof(IDispatch), dispatch.Type));
Microsoft\CSharp\RuntimeBinder\ComInterop\TypeUtils.cs (2)
89
Type nnExprType =
TypeUtils
.GetNonNullableType(convertFrom);
90
Type nnConvType =
TypeUtils
.GetNonNullableType(convertToType);
Microsoft\CSharp\RuntimeBinder\ComInterop\VarEnumSelector.cs (2)
156
if (
TypeUtils
.IsImplicitlyConvertible(argumentType, candidateManagedType, true))
358
argumentType =
TypeUtils
.GetNonNullableType(argumentType);