Also found that calling:

```
effect.CurrentTechnique = null;
```

Should throw an ArgumentNullException as this is never allowed, but we can leave that for some other time.