20 writes to Right
Microsoft.DotNet.ApiCompatibility (2)
Logging\Suppression.cs (1)
51
Right
= right;
Runner\ApiCompatRunner.cs (1)
72
Right
= difference.Right.AssemblyId,
Microsoft.DotNet.ApiCompatibility.Tests (18)
Logging\SuppressionEngineTests.cs (1)
216
Right
= "lib/netstandard1.3/tempValidation.dll"
Logging\SuppressionTests.cs (17)
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 } };
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 } };
30
yield return new object[] { new Suppression("PK004") { Target = "A.B()",
Right
= "ref/net6.0/myLib.dll" }, new Suppression("PK004") { Target = "A.B()" } };
31
yield return new object[] { new Suppression("PK004") { Target = "A.B()",
Right
= "ref/net6.0/myLib.dll" }, new Suppression("PK004") { Target = "A.B()",
Right
= "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 Right
Microsoft.DotNet.ApiCompatibility (8)
Logging\Suppression.cs (5)
81
AreEqual(
Right
, other.
Right
) &&
95
hashCode = hashCode * -1521134295 + EqualityComparer<string>.Default.GetHashCode(
Right
?.ToLowerInvariant() ?? string.Empty);
130
if (
Right
is not null)
137
stringBuilder.AppendFormat("Right: '{0}'",
Right
);
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);
128
.ThenBy(suppression => suppression.
Right
)
Microsoft.DotNet.ApiCompatibility.Tests (1)
Logging\SuppressionEngineTests.cs (1)
120
<Right>{usedSuppression.
Right
}</Right>