CodeMemberField Constructor (String, String)
Initializes a new instance of the CodeMemberField class using the specified field type and field name.
Assembly: System (in System.dll)
If the type parameter references a generic type, it must follow the syntax conventions for generic types. Generic types are formatted as follows: the name of the type, followed by a grave accent ("`"), followed by a count of the generic type arguments, followed by the parameters delimited with brackets.
You must use square brackets () and not the C# angle brackets (<>) to delimit generic parameters.
To avoid the possibility of making a syntactic mistake, consider using the CodeMemberField(Type, String) constructor that takes a type instead of a string as a parameter.