2 references to IsSameOrSubclass
System.Core (2)
Microsoft\Scripting\Ast\MethodCallExpression.cs (2)
923
if (TypeUtils.
IsSameOrSubclass
(quoteable, parameterType) &&
986
!(TypeUtils.
IsSameOrSubclass
(typeof(LambdaExpression), pType) && pType.IsAssignableFrom(arg.GetType()))) {