Example #1
0
        public void AddOutput(ClassDeclarationSyntax node, string hintName, string source)
        {
            var fileName   = GetOutputFileName(node, hintName);
            var sourceText = SourceText.From(source, Encoding.UTF8);

            _executionContext.AddSource(fileName, sourceText);
        }