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