}
public abstract void Compile(string outputFileName);
+ public abstract void WriteDependencyLog(string outputFileName);
protected abstract void ComputeDependencyNodeDependencies(List<DependencyNodeCore<NodeFactory>> obj);
public interface ICompilation
{
void Compile(string outputFileName);
+ void WriteDependencyLog(string outputFileName);
}
public sealed class ReadyToRunCodegenCompilation : Compilation
}
}
+ public override void WriteDependencyLog(string outputFileName)
+ {
+ using (FileStream dgmlOutput = new FileStream(outputFileName, FileMode.Create))
+ {
+ DgmlWriter.WriteDependencyGraphToStream(dgmlOutput, _dependencyGraph, _nodeFactory);
+ dgmlOutput.Flush();
+ }
+ }
+
internal bool IsInheritanceChainLayoutFixedInCurrentVersionBubble(TypeDesc type)
{
// TODO: implement