2 instantiations of ProjectKey
BuildBoss (2)
ProjectReferenceEntry.cs (1)
20
internal ProjectKey ProjectKey => new
ProjectKey
(FileName);
ProjectUtil.cs (1)
32
: 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)
16
internal readonly struct ProjectKey : IEquatable<
ProjectKey
>
27
public static bool operator ==(
ProjectKey
left,
ProjectKey
right) => StringComparer.OrdinalIgnoreCase.Equals(left.FilePath, right.FilePath);
28
public static bool operator !=(
ProjectKey
left,
ProjectKey
right) => !(left == right);
29
public bool Equals(
ProjectKey
other) => other == this;
30
public override bool Equals(object obj) => obj is
ProjectKey
&& Equals((
ProjectKey
)obj);
ProjectReferenceEntry.cs (1)
20
internal
ProjectKey
ProjectKey => new ProjectKey(FileName);
ProjectUtil.cs (2)
21
internal
ProjectKey
Key { get; }
36
internal ProjectUtil(
ProjectKey
key, XDocument document)
SolutionCheckerUtil.cs (6)
52
private bool CheckProjects(TextWriter textWriter, Dictionary<
ProjectKey
, SolutionProjectData> map)
54
var solutionMap = new Dictionary<
ProjectKey
, ProjectData>();
80
private bool CheckDuplicate(TextWriter textWriter, out Dictionary<
ProjectKey
, SolutionProjectData> map)
82
map = new Dictionary<
ProjectKey
, SolutionProjectData>();
145
private bool CheckSameDirectory(TextWriter textWriter, Dictionary<
ProjectKey
, SolutionProjectData> map)
149
foreach (
var
projectKey in map.Keys.OrderBy(x => x.FileName))