should only add public interfaces
should only add public interfaces

If the interface is not public, the castle dynamic proxy will throw:
Castle.DynamicProxy.Generators.GeneratorException : Type
System.Data.Entity.Internal.Linq.IInternalQueryAdapter is not visible to
DynamicProxy. Can not create proxy for types that are not accessible.
Make the type public, or internal and mark your assembly with [assembly:
InternalsVisibleTo(InternalsVisible.ToDynamicProxyGenAssembly2)]
attribute.

HelloKitty/moq4,chkpnt/moq4,RobSiklos/moq4,cgourlay/moq4,JohanLarsson/moq4,madcapsoftware/moq4,ramanraghur/moq4,kulkarnisachin07/moq4,LeonidLevin/moq4,breyed/moq4,AhmedAssaf/moq4,Moq/moq4,ocoanet/moq4,kolomanschaft/moq4,jeremymeng/moq4,iskiselev/moq4,AhmedAssaf/moq4