4 references to OnlyStaticPropertiesHaveNullInstance
System.Linq.Expressions (4)
System\Linq\Expressions\IndexExpression.cs (2)
472throw Error.OnlyStaticPropertiesHaveNullInstance(nameof(instance)); 479throw Error.OnlyStaticPropertiesHaveNullInstance(nameof(instance));
System\Linq\Expressions\MemberExpression.cs (2)
276if (expression != null) throw Error.OnlyStaticPropertiesHaveNullInstance(nameof(expression)); 280if (expression == null) throw Error.OnlyStaticPropertiesHaveNullInstance(nameof(property));