34 references to AssertReleased
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
3872modelWeakReference.AssertReleased();
Microsoft.CodeAnalysis.Test.Utilities (1)
ObjectReference.cs (1)
194/// the caller of this function, no further calls to <see cref="AssertHeld"/> or <see cref="AssertReleased"/> may be called
Microsoft.CodeAnalysis.UnitTests (11)
InternalUtilities\WeakListTests.cs (11)
78a.AssertReleased(); 79c.AssertReleased(); 80d.AssertReleased(); 81e.AssertReleased(); 118a.AssertReleased(); 126b.AssertReleased(); 151a.AssertReleased(); 157b.AssertReleased(); 186a.AssertReleased(); 226a.AssertReleased(); 266a.AssertReleased();
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
2859compilation.AssertReleased(); 2860sol.AssertReleased();
Microsoft.CodeAnalysis.Workspaces.UnitTests (12)
SolutionTests\SolutionTests.cs (11)
3311observedText.AssertReleased(); 3375observed.AssertReleased(); 3521observed.AssertReleased(); 3552observed.AssertReleased(); 3584observed.AssertReleased(); 3610observed.AssertReleased(); 3679observed.AssertReleased(); 3698observed2.AssertReleased(); 3725observed.AssertReleased(); 3750observed.AssertReleased(); 5481sourceTextToRelease.AssertReleased();
WorkspaceTests\AdhocWorkspaceTests.cs (1)
589adhocWorkspaceReference.AssertReleased();
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
ProjectSystemShim\LifetimeTests.cs (1)
28project.AssertReleased();
Roslyn.VisualStudio.Next.UnitTests (6)
Services\SolutionServiceTests.cs (6)
994objectReference.AssertReleased(); 1048objectReference2.AssertReleased(); 1089objectReference2.AssertReleased(); 1117objectReference2.AssertReleased(); 1219objectReference2_step1.AssertReleased(); 1236oopDocumentReference2_step1.AssertReleased();