I am attempting to generate Interfaces for the managers classes. The interfaces basically mirror the class itself, with just the method definitions.
However, when attempting to generate from any template in the binding (even when the interface template isn't generated) I get the following exception from the LLBLGen designer:
Compilation of templates threw errors:
Error CS0122, at line: 2951, pos: 48: 'ManagerInterfaceTemplate.FieldRelationPair.ToFieldList(System.Collections.ArrayList)' is inaccessible due to its protection level
Error CS0122, at line: 2953, pos: 47: 'ManagerInterfaceTemplate.FieldRelationPair.ToFieldList(System.Collections.ArrayList)' is inaccessible due to its protection level
Error CS0122, at line: 2982, pos: 51: 'ManagerInterfaceTemplate.FieldRelationPair.ToRelationList(System.Collections.ArrayList)' is inaccessible due to its protection level
Error CS0122, at line: 2983, pos: 50: 'ManagerInterfaceTemplate.FieldRelationPair.ToRelationList(System.Collections.ArrayList)' is inaccessible due to its protection level
If I add a public modifier to the interface method definitions, this error goes away, but then of course, I get compilation errors in VS.
What's going on here?
I'm using LLBLGen 2.5
Thanks,
Josh