10 references to Statement
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (2)
266TestSpans(source, SyntaxComparer.Statement.HasLabel); 275TestErrorSpansAllKinds(SyntaxComparer.Statement.HasLabel);
EditAndContinue\StatementMatchingTests.cs (3)
41var match = SyntaxComparer.Statement.ComputeMatch(m1, m2, knownMatches); 55match = SyntaxComparer.Statement.ComputeMatch(m1, m2); 83var match = SyntaxComparer.Statement.ComputeMatch(m1, m2, knownMatches);
Microsoft.CodeAnalysis.CSharp.Features (5)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (5)
380if (isBody || SyntaxComparer.Statement.HasLabel(node)) 621return SyntaxComparer.Statement.ComputeMatch(oldBody.Parent, newBody.Parent, knownMatches); 624return SyntaxComparer.Statement.ComputeMatch(oldBody, newBody, knownMatches); 843=> SyntaxComparer.Statement.GetLabel(node1) == SyntaxComparer.Statement.GetLabel(node2);