10 references to ObjectReference
Microsoft.CodeAnalysis.Test.Utilities (3)
ObjectReference.cs (3)
22
return new
ObjectReference
<T>(targetFactory(arg));
31
return new
ObjectReference
<T>(targetFactory());
36
return new
ObjectReference
<T>(target);
Microsoft.CodeAnalysis.UnitTests (1)
InternalUtilities\WeakListTests.cs (1)
40
return new
ObjectReference
<C>(new C(value));
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
SolutionTests\SolutionTests.cs (6)
3534
return new
ObjectReference
<SourceText>(observedText);
3565
return new
ObjectReference
<SourceText>(observedText);
3591
return new
ObjectReference
<SyntaxNode>(observedTree);
3617
return new
ObjectReference
<SyntaxNode>(observedTree);
3732
return new
ObjectReference
<Compilation>(observed);
3757
return new
ObjectReference
<Compilation>(observed);