AlbertoMonteiro / moq-to-nsubstitute

MIT License
15 stars 3 forks source link

Replace fields Mock<interface> _fieldName = new() #5

Open jeroenwalter opened 1 year ago

jeroenwalter commented 1 year ago

find regex: Mock<(.+?)> (.*?) = new(); replace with: $1 $2 = Substitute.For<$1>();