10 references to HasLabel
Microsoft.CodeAnalysis.CSharp.Features (1)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
211if (isBody || SyntaxComparer.Statement.HasLabel(node))
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (2)
204""", SyntaxComparer.TopLevel.HasLabel); 259""", SyntaxComparer.Statement.HasLabel);
Microsoft.CodeAnalysis.Workspaces (7)
Differencing\AbstractSyntaxComparer.cs (7)
68while (parent != null && !HasLabel(parent)) 100if (HasLabel(child)) 108if (HasLabel(descendant)) 117=> !IsLambdaBodyStatementOrExpression(node) && !HasLabel(node); 129if (HasLabel(node)) 136if (HasLabel(descendant)) 151if (descendantNode != null && HasLabel(descendantNode))