Implemented interface member:
6 references to Dispose
Microsoft.Build.Engine.UnitTests (6)
ProjectCache\ProjectCacheTests.cs (6)
1174Should.NotThrow(() => buildSession!.Dispose()); 1178var e = Should.Throw<ProjectCacheException>(() => buildSession!.Dispose()); 1194buildSession?.Dispose(); 1296Should.Throw<ProjectCacheException>(() => buildSession.Dispose()); 1300Should.NotThrow(() => buildSession.Dispose()); 1349Should.Throw<ProjectCacheException>(() => buildSession.Dispose()).InnerException!.Message.ShouldContain("Cache plugin exception from EndBuildAsync");