Skip to content

Commit

Permalink
Remove C# compilation stuff from the project #172
Browse files Browse the repository at this point in the history
- refactoring CSharpStreamCompiller
  • Loading branch information
mpostol committed Mar 20, 2020
1 parent ac713b6 commit fec1a60
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace TPA.Reflection.Compilation
{
/// <summary>
/// Compliler that perform compilation of any cs class from stream or string
/// Complier that perform compilation of any cs class from stream or string
/// </summary>
public class CSharpStreamCompiller : CodeBuilderBase
{
Expand All @@ -19,10 +19,7 @@ public class CSharpStreamCompiller : CodeBuilderBase
/// </summary>
/// <param name="streamSource">The stream source of source code.</param>
/// <param name="referencedAssemblies">The referenced assemblies list.</param>
public CSharpStreamCompiller(Stream streamSource, string[] referencedAssemblies) :
this(new StreamReader(streamSource).ReadToEnd(), referencedAssemblies)
{
}
public CSharpStreamCompiller(Stream streamSource, string[] referencedAssemblies) : this(new StreamReader(streamSource).ReadToEnd(), referencedAssemblies) { }
/// <summary>
/// Initializes a new instance of the <see cref="CSharpStreamCompiller"/> class.
/// </summary>
Expand Down

0 comments on commit fec1a60

Please sign in to comment.