1 instantiation of DiffApiDefinition
Microsoft.DotNet.AsmDiff (1)
ApiRecordingCSharpDiffWriter.cs (1)
62
var apiDefinition = new
DiffApiDefinition
(left, right, difference, newChildren)
25 references to DiffApiDefinition
Microsoft.DotNet.AsmDiff (25)
ApiRecordingCSharpDiffWriter.cs (10)
17
private List<
DiffApiDefinition
> _apis = new List<
DiffApiDefinition
>();
18
private Stack<List<
DiffApiDefinition
>> _apiStack = new Stack<List<
DiffApiDefinition
>>();
19
private Stack<
DiffApiDefinition
> _apiDefinitionStack = new Stack<
DiffApiDefinition
>();
28
public List<
DiffApiDefinition
> ApiDefinitions
61
var newChildren = new List<
DiffApiDefinition
>();
62
var
apiDefinition = new DiffApiDefinition(left, right, difference, newChildren)
75
var
currentApi = _apiDefinitionStack.Pop();
DiffApiDefinition.cs (3)
22
public ReadOnlyCollection<
DiffApiDefinition
> Children { get; private set; }
24
public DiffApiDefinition(IDefinition left, IDefinition right, DifferenceType difference, IList<
DiffApiDefinition
> children)
32
Children = new ReadOnlyCollection<
DiffApiDefinition
>(children);
DiffDocument.cs (3)
15
public ReadOnlyCollection<
DiffApiDefinition
> ApiDefinitions { get; private set; }
17
public DiffDocument(AssemblySet left, AssemblySet right, IEnumerable<DiffLine> lines, IEnumerable<
DiffApiDefinition
> apiDefinitions)
22
ApiDefinitions = new ReadOnlyCollection<
DiffApiDefinition
>(apiDefinitions.ToArray());
DiffEngine.cs (2)
145
IEnumerable<
DiffApiDefinition
> apiDefinitions;
159
private static void GetTokens(DiffConfiguration configuration, CancellationToken cancellationToken, out IEnumerable<DiffToken> tokens, out IEnumerable<
DiffApiDefinition
> apiDefinitions)
MarkdownDiffExporter.cs (7)
72
foreach (
var
topLevelApi in _diffDocument.ApiDefinitions)
87
foreach (
var
topLevelApi in _diffDocument.ApiDefinitions)
96
foreach (
DiffApiDefinition
topLevelApi in _diffDocument.ApiDefinitions)
103
private void WriteDiffForNamespace(StreamWriter writer,
DiffApiDefinition
topLevelApi, bool isStandalone)
114
private static void WriteDiff(StreamWriter writer,
DiffApiDefinition
topLevelApi)
121
private static void WriteDiff(StreamWriter writer,
DiffApiDefinition
api, int level)
160
foreach (
DiffApiDefinition
child in api.Children)