You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.142
Former-commit-id: 7467d4b717762eeaf652d77f1486dd11ffb1ff1f
This commit is contained in:
parent
e52655b4dc
commit
0abdbe5a7d
@ -26,21 +26,33 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace Xamarin.ApiDiff {
|
||||
namespace Mono.ApiTools {
|
||||
|
||||
public class AssemblyComparer : Comparer {
|
||||
class AssemblyComparer : Comparer {
|
||||
|
||||
XDocument source;
|
||||
XDocument target;
|
||||
NamespaceComparer comparer;
|
||||
|
||||
public AssemblyComparer (string sourceFile, string targetFile)
|
||||
public AssemblyComparer (string sourceFile, string targetFile, State state)
|
||||
: this (XDocument.Load(sourceFile), XDocument.Load(targetFile), state)
|
||||
{
|
||||
source = XDocument.Load (sourceFile);
|
||||
target = XDocument.Load (targetFile);
|
||||
comparer = new NamespaceComparer ();
|
||||
}
|
||||
|
||||
public AssemblyComparer (Stream sourceFile, Stream targetFile, State state)
|
||||
: this (XDocument.Load(sourceFile), XDocument.Load(targetFile), state)
|
||||
{
|
||||
}
|
||||
|
||||
public AssemblyComparer (XDocument sourceFile, XDocument targetFile, State state)
|
||||
: base (state)
|
||||
{
|
||||
source = sourceFile;
|
||||
target = targetFile;
|
||||
comparer = new NamespaceComparer (state);
|
||||
}
|
||||
|
||||
public string SourceAssembly { get; private set; }
|
||||
|
Reference in New Issue
Block a user