4 references to CanSpeculateOnNode
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Rename\CSharpRenameRewriterLanguageService.cs (1)
1254
var nodeToSpeculate = node.GetAncestorsOrThis(n => SpeculationAnalyzer.
CanSpeculateOnNode
(n)).LastOrDefault();
Simplification\CSharpSimplificationService.cs (1)
174
Contract.ThrowIfFalse(SpeculationAnalyzer.
CanSpeculateOnNode
(nodeToSpeculate));
Simplification\CSharpSimplificationService.NodesAndTokensToReduceComputer.cs (1)
68
if (!_insideSpeculatedNode && SpeculationAnalyzer.
CanSpeculateOnNode
(node))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
79
if (
CanSpeculateOnNode
(node))