3 writes to _speculativeModel
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Rename\CSharpRenameRewriterLanguageService.cs (3)
294
_speculativeModel
= GetSemanticModelForNode(newNode, _semanticModel);
309
_speculativeModel
= GetSemanticModelForNode(newNode, _semanticModel);
321
_speculativeModel
= null;
4 references to _speculativeModel
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Rename\CSharpRenameRewriterLanguageService.cs (4)
295
RoslynDebug.Assert(
_speculativeModel
!= null, "expanding a syntax node which cannot be speculated?");
301
_speculativeModel
,
530
RoslynDebug.Assert(
_speculativeModel
!= null);
546
var symbol =
_speculativeModel
.GetSymbolInfo(token.Parent, _cancellationToken).Symbol;