10 instantiations of ObjectReference
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
71 references to ObjectReference
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (6)
Microsoft.CodeAnalysis.UnitTests (18)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (5)
Microsoft.CodeAnalysis.Workspaces.UnitTests (19)
SolutionTests\SolutionTests.cs (18)
3303var observedText = GetObservedText(sol, did, text1);
3374var observed = GetObservedText(sol, did, text);
3520var observed = GetObservedText(sol, did, text);
3525private static ObjectReference<SourceText> GetObservedText(Solution solution, DocumentId documentId, string expectedText = null)
3551var observed = GetObservedTextAsync(sol, did, text);
3556private static ObjectReference<SourceText> GetObservedTextAsync(Solution solution, DocumentId documentId, string expectedText = null)
3583var observed = GetObservedSyntaxTreeRoot(sol, did);
3588private static ObjectReference<SyntaxNode> GetObservedSyntaxTreeRoot(Solution solution, DocumentId documentId)
3609var observed = GetObservedSyntaxTreeRootAsync(sol, did);
3614private static ObjectReference<SyntaxNode> GetObservedSyntaxTreeRootAsync(Solution solution, DocumentId documentId)
3678var observed = GetObservedSyntaxTreeRootAsync(sol, did);
3697var observed2 = GetObservedSyntaxTreeRootAsync(doc2.Project.Solution, did);
3724var observed = GetObservedCompilationAsync(sol, pid);
3729private static ObjectReference<Compilation> GetObservedCompilationAsync(Solution solution, ProjectId projectId)
3749var observed = GetObservedCompilation(sol, pid);
3754private static ObjectReference<Compilation> GetObservedCompilation(Solution solution, ProjectId projectId)
5469var sourceTextToRelease = ObjectReference.CreateFromFactory(static () => SourceText.From(Guid.NewGuid().ToString()));
5470var solutionWithSourceTextToRelease = sourceTextToRelease.GetObjectReference(
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Roslyn.VisualStudio.Next.UnitTests (21)