22 writes to Left
Microsoft.DotNet.ApiCompatibility (2)
Logging\Suppression.cs (1)
50
Left
= left;
Runner\ApiCompatRunner.cs (1)
71
Left
= difference.Left.AssemblyId,
Microsoft.DotNet.ApiCompatibility.Tests (20)
Logging\SuppressionEngineTests.cs (1)
215
Left
= "lib/netstandard1.3/tempValidation.dll",
Logging\SuppressionTests.cs (19)
10
yield return new object[] { new Suppression(string.Empty), new Suppression(string.Empty) {
Left
= null, Right = null, Target = null } };
11
yield return new object[] { new Suppression(string.Empty), new Suppression(string.Empty) {
Left
= string.Empty, Right = string.Empty, Target = string.Empty } };
15
yield return new object[] { new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll" }, new Suppression(" pk004 ") { Target = "A.B",
Left
= "ref/net6.0/mylib.dll" } };
16
yield return new object[] { new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll" }, new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll", IsBaselineSuppression = false } };
17
yield return new object[] { new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll", IsBaselineSuppression = false }, new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll", IsBaselineSuppression = false } };
18
yield return new object[] { new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll", IsBaselineSuppression = true }, new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll", IsBaselineSuppression = true } };
28
yield return new object[] { new Suppression("PK004") { Target = "A.B()",
Left
= "ref/net6.0/myLib.dll" }, new Suppression("PK004") { Target = "A.B()" } };
29
yield return new object[] { new Suppression("PK004") { Target = "A.B()",
Left
= "ref/net6.0/myLib.dll" }, new Suppression("PK004") { Target = "A.B()",
Left
= "lib/net6.0/myLib.dll" } };
32
yield return new object[] { new Suppression("PK004") { Target = "A.B()",
Left
= "ref/net6.0/mylib.dll", Right = "lib/net6.0/myLib.dll" }, new Suppression("PK004") { Target = "A.B()",
Left
= "ref/netstandard2.0/mylib.dll", Right = "lib/net6.0/myLib.dll" } };
33
yield return new object[] { new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll", IsBaselineSuppression = true }, new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll", IsBaselineSuppression = false } };
34
yield return new object[] { new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll" }, new Suppression("PK004") { Target = "A.B",
Left
= "ref/net6.0/myLib.dll", Right = "lib/net6.0/myLib.dll", IsBaselineSuppression = true } };
9 references to Left
Microsoft.DotNet.ApiCompatibility (8)
Logging\Suppression.cs (5)
80
AreEqual(
Left
, other.
Left
) &&
94
hashCode = hashCode * -1521134295 + EqualityComparer<string>.Default.GetHashCode(
Left
?.ToLowerInvariant() ?? string.Empty);
119
if (
Left
is not null)
126
stringBuilder.AppendFormat("Left: '{0}'",
Left
);
Logging\SuppressionEngine.cs (3)
73
Suppression globalLeftRightSuppression = new(string.Empty, left: error.
Left
, right: error.Right, isBaselineSuppression: error.IsBaselineSuppression);
76
Suppression globalDiagnosticIdLeftRightSuppression = new(error.DiagnosticId, left: error.
Left
, right: error.Right, isBaselineSuppression: error.IsBaselineSuppression);
127
.ThenBy(suppression => suppression.
Left
)
Microsoft.DotNet.ApiCompatibility.Tests (1)
Logging\SuppressionEngineTests.cs (1)
119
<Left>{usedSuppression.
Left
}</Left>