2 instantiations of ProjectKey
BuildBoss (2)
ProjectReferenceEntry.cs (1)
16
internal ProjectKey ProjectKey => new
ProjectKey
(FileName);
ProjectUtil.cs (1)
30
: this(new
ProjectKey
(filePath), XDocument.Load(filePath))
24 references to ProjectKey
BuildBoss (24)
ProjectCheckerUtil.cs (6)
18
private readonly Dictionary<
ProjectKey
, ProjectData> _solutionMap;
24
internal ProjectCheckerUtil(ProjectData data, Dictionary<
ProjectKey
, ProjectData> solutionMap, bool isPrimarySolution)
180
private bool CheckProjectReferencesComplete(TextWriter textWriter, IEnumerable<
ProjectKey
> declaredReferences)
183
foreach (
var
key in declaredReferences)
210
private bool CheckUnitTestReferenceRestriction(TextWriter textWriter, IEnumerable<
ProjectKey
> declaredReferences)
218
foreach (
var
key in declaredReferences)
ProjectData.cs (1)
18
internal
ProjectKey
Key => ProjectUtil.Key;
ProjectKey.cs (8)
12
internal readonly struct ProjectKey : IEquatable<
ProjectKey
>
23
public static bool operator ==(
ProjectKey
left,
ProjectKey
right) => StringComparer.OrdinalIgnoreCase.Equals(left.FilePath, right.FilePath);
24
public static bool operator !=(
ProjectKey
left,
ProjectKey
right) => !(left == right);
25
public bool Equals(
ProjectKey
other) => other == this;
26
public override bool Equals(object obj) => obj is
ProjectKey
&& Equals((
ProjectKey
)obj);
ProjectReferenceEntry.cs (1)
16
internal
ProjectKey
ProjectKey => new ProjectKey(FileName);
ProjectUtil.cs (2)
19
internal
ProjectKey
Key { get; }
34
internal ProjectUtil(
ProjectKey
key, XDocument document)
SolutionCheckerUtil.cs (6)
51
private bool CheckProjects(TextWriter textWriter, Dictionary<
ProjectKey
, SolutionProjectData> map)
53
var solutionMap = new Dictionary<
ProjectKey
, ProjectData>();
79
private bool CheckDuplicate(TextWriter textWriter, out Dictionary<
ProjectKey
, SolutionProjectData> map)
81
map = new Dictionary<
ProjectKey
, SolutionProjectData>();
144
private bool CheckSameDirectory(TextWriter textWriter, Dictionary<
ProjectKey
, SolutionProjectData> map)
148
foreach (
var
projectKey in map.Keys.OrderBy(x => x.FileName))