5 references to TypeMustNotBeByRef
System.Linq.Expressions (5)
System\Dynamic\Utils\TypeUtils.cs (1)
938
throw Error.
TypeMustNotBeByRef
(paramName);
System\Linq\Expressions\LambdaExpression.cs (2)
1034
throw Error.
TypeMustNotBeByRef
(nameof(typeArgs));
1081
throw Error.
TypeMustNotBeByRef
(nameof(typeArgs));
System\Linq\Expressions\TypeBinaryExpression.cs (2)
195
if (type.IsByRef) throw Error.
TypeMustNotBeByRef
(nameof(type));
210
if (type.IsByRef) throw Error.
TypeMustNotBeByRef
(nameof(type));