Partial classes question

time to read 1 min | 179 words

Given this class declaration:

File1:

public partial class MocksRepository : IDisposable
{
   //implement disposable

}

 File2:

public partial class MocksRepository : IDisposable
{

}

Why do I get an error saying:

Error 1 'Rhino.Mocks.MocksRepository' does not implement interface member 'System.IDisposable.Dispose()' D:\Code\rhino-mocks\src\Rhino.Mocks\MocksRepositoryGenerics.cs 12 26 Rhino.Mocks 2.0