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