We want to follow One class per file rule in .NET? Is there a way to check this in a continuous integration system? We're using teamcity, but i guess the product doesn't matter.
Can this be checked by resharper, or is it possible to check this with a unit test(Without parsing files myself)?