Beispiel #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="diagnostics">Diagnostics</param>
 public CompilationResult(CompilerDiagnostic[] diagnostics)
 {
     if (diagnostics == null)
     {
         throw new ArgumentNullException(nameof(diagnostics));
     }
     Debug.Assert(diagnostics.Length != 0);
     RawFile     = null;
     DebugFile   = new DebugFileResult();
     Diagnostics = diagnostics;
 }
			public ModuleResult(IAssembly assembly, byte[] bytes, DebugFileResult debugFile) {
				Assembly = assembly;
				RawBytes = bytes;
				DebugFile = debugFile;
			}