2 writes to _lazyText
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Workspace\LanguageServices\CSharpSyntaxTreeFactoryService.ParsedSyntaxTree.cs (2)
30
_lazyText
= lazyText;
43
Interlocked.CompareExchange(ref
_lazyText
, GetRoot(cancellationToken).GetText(Encoding, _checksumAlgorithm), null);
5 references to _lazyText
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Workspace\LanguageServices\CSharpSyntaxTreeFactoryService.ParsedSyntaxTree.cs (5)
41
if (
_lazyText
== null)
46
return
_lazyText
;
51
text =
_lazyText
;
71
=> (root == _root && options == Options) ? this : new ParsedSyntaxTree((root == _root) ?
_lazyText
: null, (CSharpSyntaxNode)root, (CSharpParseOptions)options, FilePath, Encoding, _checksumAlgorithm);
74
=> (path == FilePath) ? this : new ParsedSyntaxTree(
_lazyText
, _root, Options, path, Encoding, _checksumAlgorithm);