Constructor GeneratedSource
GeneratedSource(string, string)
Initializes a new instance of the GeneratedSource class.
public GeneratedSource(string hintName, string text)
Parameters
GeneratedSource(string, string, IReadOnlyList<string>)
Initializes a new instance of the GeneratedSource class, with notes about the generated code.
public GeneratedSource(string hintName, string text, IReadOnlyList<string> notes)
Parameters
hintNamestringThe file name, unique within one generation run.
textstringThe C# source.
notesIReadOnlyList<string>Things a user may not expect, such as a property renamed to avoid a clash.