Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Common/DotGraphUtilities/DotGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class DotGraph
{
public static IDictionary<string, SortedSet<string>> LoadDependencyGraph(string targetFile)
{
IDictionary<string, SortedSet<string>> result = new SortedDictionary<string, SortedSet<string>>();
IDictionary<string, SortedSet<string>> result = new SortedDictionary<string, SortedSet<string>>(StringComparer.InvariantCultureIgnoreCase);

IEnumerable<string> validDigraphLines = ParseForValidDigraphLines(targetFile);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace MsBuildProjectReferenceDependencyGraph
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
Expand All @@ -26,7 +27,7 @@ class MSBPRDependencyGraph
internal static Dictionary<string, IEnumerable<string>> ResolveProjectReferenceDependencies(IEnumerable<string> targetProjects)
{
Stack<string> unresolvedProjects = new Stack<string>();
Dictionary<string, IEnumerable<string>> resolvedProjects = new Dictionary<string, IEnumerable<string>>();
Dictionary<string, IEnumerable<string>> resolvedProjects = new Dictionary<string, IEnumerable<string>>(StringComparer.InvariantCultureIgnoreCase);

// Load up the initial projects to the stack
foreach (string targetProject in targetProjects.Distinct())
Expand Down Expand Up @@ -279,7 +280,7 @@ internal static Dictionary<string, IEnumerable<string>> ResolveAssemblyReference
);

// Convert this into the Dictionary
Dictionary<string, IEnumerable<string>> result = new Dictionary<string, IEnumerable<string>>();
Dictionary<string, IEnumerable<string>> result = new Dictionary<string, IEnumerable<string>>(StringComparer.InvariantCultureIgnoreCase);
foreach (KeyValuePair<string, IEnumerable<string>> kvp in resolvedAssemblyReferences)
{
result.Add(kvp.Key, kvp.Value);
Expand Down Expand Up @@ -307,7 +308,7 @@ internal static Dictionary<string, IEnumerable<string>> ResolvePackageReferenceD
);

// Convert this into the Dictionary
Dictionary<string, IEnumerable<string>> result = new Dictionary<string, IEnumerable<string>>();
Dictionary<string, IEnumerable<string>> result = new Dictionary<string, IEnumerable<string>>(StringComparer.InvariantCultureIgnoreCase);
foreach (KeyValuePair<string, IEnumerable<string>> kvp in resolvedPackageReferences)
{
result.Add(kvp.Key, kvp.Value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace ProcessParallelAbility
{
using System;
using System.Collections.Generic;
using System.Linq;

Expand Down Expand Up @@ -40,7 +41,7 @@ internal static IDictionary<int, List<string>> ConvertParallelTreeToLevels(IDict
/// <returns>A structure in which the Key is the project and the value is the depth within the given dependency tree.</returns>
internal static IDictionary<string, int> ResolveParallelTree(IDictionary<string, SortedSet<string>> dependencyTree)
{
IDictionary<string, int> parallelBuildTree = new Dictionary<string, int>();
IDictionary<string, int> parallelBuildTree = new Dictionary<string, int>(StringComparer.InvariantCultureIgnoreCase);

foreach (KeyValuePair<string, SortedSet<string>> dotGraphEntry in dependencyTree)
{
Expand Down