public TypeSelectorTest() { this.testee = new TypeSelector(); string assemblyPath = Assembly.GetExecutingAssembly().CodeBase .Replace("file:///", string.Empty) .Replace("EnableFaking.Fody.Test", "AssemblyToProcess"); this.moduleDefinition = ModuleDefinition.ReadModule(assemblyPath); }
public ModuleWeaver( TypeSelector typeSelector, MemberSelector memberSelector, MemberVirtualizer memberVirtualizer, CallMapper callMapper) { this.typeSelector = typeSelector; this.memberSelector = memberSelector; this.memberVirtualizer = memberVirtualizer; this.callMapper = callMapper; }