public void Invoke_StaticConstructor_ThrowsMemberAccessException() { ConstructorInfo[] constructors = GetConstructors(typeof(ClassWithStaticConstructor)); Assert.Throws<MemberAccessException>(() => constructors[0].Invoke(new object[0])); }