7 references to TypeMustBeDerivedFromSystemDelegate
System.Linq.Expressions (7)
System\Linq\Expressions\DynamicExpression.cs (5)
868
if (!delegateType.IsSubclassOf(typeof(MulticastDelegate))) throw Error.
TypeMustBeDerivedFromSystemDelegate
();
895
if (!delegateType.IsSubclassOf(typeof(MulticastDelegate))) throw Error.
TypeMustBeDerivedFromSystemDelegate
();
925
if (!delegateType.IsSubclassOf(typeof(MulticastDelegate))) throw Error.
TypeMustBeDerivedFromSystemDelegate
();
958
if (!delegateType.IsSubclassOf(typeof(MulticastDelegate))) throw Error.
TypeMustBeDerivedFromSystemDelegate
();
994
if (!delegateType.IsSubclassOf(typeof(MulticastDelegate))) throw Error.
TypeMustBeDerivedFromSystemDelegate
();
System\Runtime\CompilerServices\CallSite.cs (2)
91
if (!delegateType.IsSubclassOf(typeof(MulticastDelegate))) throw System.Linq.Expressions.Error.
TypeMustBeDerivedFromSystemDelegate
();
217
if (!typeof(T).IsSubclassOf(typeof(MulticastDelegate))) throw System.Linq.Expressions.Error.
TypeMustBeDerivedFromSystemDelegate
();