Closed Leonardo-Ferreira closed 4 years ago
here's my code:
var diMock = new Mock<IDirectoryInfo>(); diMock.Setup(i => i.Create()); try { var obj = diMock.Object; }catch(Exception ex) { //SYSTEM.Runtime.Remoting.ObjRef exception here... }
any ideas?
I can't reproduce this. Moq: 4.10.0 SystemWrapper: 0.25.0.186 (Interfaces and Wrappers)
Closing as external issue.
here's my code:
any ideas?