10 writes to IsBaselineSuppression
Microsoft.DotNet.ApiCompatibility (2)
Logging\Suppression.cs (1)
52
IsBaselineSuppression
= isBaselineSuppression;
Runner\ApiCompatRunner.cs (1)
73
IsBaselineSuppression
= workItem.Options.IsBaselineComparison
Microsoft.DotNet.ApiCompatibility.Tests (8)
Logging\SuppressionTests.cs (8)
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 } };
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 } };
7 references to IsBaselineSuppression
Microsoft.DotNet.ApiCompatibility (7)
Logging\Suppression.cs (4)
61
public bool ShouldSerializeIsBaselineSuppression() =>
IsBaselineSuppression
;
82
IsBaselineSuppression
== other.
IsBaselineSuppression
;
103
if (
IsBaselineSuppression
)
Logging\SuppressionEngine.cs (3)
70
Suppression globalTargetSuppression = new(error.DiagnosticId, error.Target, isBaselineSuppression: error.
IsBaselineSuppression
);
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
);