For us, the problem was nested classes. OmniSharp cannot handle this:
public class SomeClass { public class SomeMethod { [Fact] public void SomeTest() { } } }
However, he can handle this:
public class SomeMethod { [Fact] public void SomeTest() { } }
source share