7 references to WithinEmbeddedStatement
Microsoft.CodeAnalysis.CSharp.EditorFeatures (7)
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (7)
670&& !WithinEmbeddedStatement(commonForEachStatementNode, caretPosition); 676&& !WithinEmbeddedStatement(forStatementNode, caretPosition); 682&& !WithinEmbeddedStatement(ifStatementNode, caretPosition); 711return elseClauseNode.Statement is not BlockSyntax && !WithinEmbeddedStatement(elseClauseNode, caretPosition); 719&& !WithinEmbeddedStatement(lockStatementNode, caretPosition); 725&& !WithinEmbeddedStatement(usingStatementNode, caretPosition); 731&& !WithinEmbeddedStatement(whileStatementNode, caretPosition);