1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
3+ <!-- Intentional divergence from the 1.1.0 baseline: UseRealFor's TService constraint changed
4+ notnull -> class. No valid caller can break: TImplementation : class, TService already made a
5+ non-reference TService uninstantiable (a class cannot derive from a struct, and interfaces
6+ satisfy the class constraint). The tightening is required because AutoMocker's lazy factory
7+ overload Use<TService>(Func<AutoMocker, TService>) cannot be bound when TService is merely
8+ notnull - overload resolution against the class-constrained Use<TService>(Mock<TService>)
9+ candidate fails with CS0452 under explicit type arguments and binds the wrong overload under
10+ inference. Lazy creation + automatic disposal of UseRealFor instances depends on that factory
11+ overload. -->
12+ <Suppressions xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns : xsd =" http://www.w3.org/2001/XMLSchema" >
13+ <Suppression >
14+ <DiagnosticId >CP0021</DiagnosticId >
15+ <Target >M:Vulthil.xUnit.BaseUnitTestCase.UseRealFor``2``0:class</Target >
16+ <Left >lib/net10.0/Vulthil.xUnit.dll</Left >
17+ <Right >lib/net10.0/Vulthil.xUnit.dll</Right >
18+ <IsBaselineSuppression >true</IsBaselineSuppression >
19+ </Suppression >
20+ <Suppression >
21+ <DiagnosticId >CP0021</DiagnosticId >
22+ <Target >M:Vulthil.xUnit.BaseUnitTestCase.UseRealFor``2``0:notnull</Target >
23+ <Left >lib/net10.0/Vulthil.xUnit.dll</Left >
24+ <Right >lib/net10.0/Vulthil.xUnit.dll</Right >
25+ <IsBaselineSuppression >true</IsBaselineSuppression >
26+ </Suppression >
27+ <Suppression >
28+ <DiagnosticId >CP0021</DiagnosticId >
29+ <Target >M:Vulthil.xUnit.BaseUnitTestCase.UseRealFor``2``0:class</Target >
30+ <Left >lib/net9.0/Vulthil.xUnit.dll</Left >
31+ <Right >lib/net9.0/Vulthil.xUnit.dll</Right >
32+ <IsBaselineSuppression >true</IsBaselineSuppression >
33+ </Suppression >
34+ <Suppression >
35+ <DiagnosticId >CP0021</DiagnosticId >
36+ <Target >M:Vulthil.xUnit.BaseUnitTestCase.UseRealFor``2``0:notnull</Target >
37+ <Left >lib/net9.0/Vulthil.xUnit.dll</Left >
38+ <Right >lib/net9.0/Vulthil.xUnit.dll</Right >
39+ <IsBaselineSuppression >true</IsBaselineSuppression >
40+ </Suppression >
41+ </Suppressions >
0 commit comments