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