Ejemplo n.º 1
0
 public Deltas(
     byte[] il,
     byte[] metadata,
     int[] updatedMethods,
     MemoryStream pdb,
     List<KeyValuePair<DocumentId, ImmutableArray<LineChange>>> lineEdits,
     EmitDifferenceResult emitResult)
 {
     this.IL = new ILDelta(il);
     this.Metadata = new MetadataDelta(metadata);
     this.Pdb = new PdbDelta(pdb, updatedMethods);
     this.EmitResult = emitResult;
     this.LineEdits = lineEdits;
 }
Ejemplo n.º 2
0
 public CompilationDifference(
     ImmutableArray<byte> metadata,
     ImmutableArray<byte> il,
     Stream pdbStream,
     CompilationTestData testData,
     EmitDifferenceResult result,
     ImmutableArray<MethodDefinitionHandle> methodHandles)
 {
     this.MetadataDelta = metadata;
     this.ILDelta = il;
     this.PdbDelta = pdbStream;
     this.TestData = testData;
     this.EmitResult = result;
     this.UpdatedMethods = methodHandles;
 }