internal ResourceTextWriter(FileType fileType, Stream output)
{
_delimiter = LocBamlConst.GetDelimiter(fileType);
if (output == null)
throw new ArgumentNullException("output");
// show utf8 byte order marker
UTF8Encoding encoding = new UTF8Encoding(true);
_writer = new StreamWriter(output, encoding);
_firstColumn = true;
}