public void ClassMustBePartial() { var tb = new GeneratorTestBed(new INPCGenerator(), @" using Melville.INPC; namespace NM { public class C { [AutoNotify] private int intProp; } }"); tb.AssertDiagnosticCount(1); }