2 implementations of IsGlobalStatement
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSyntaxFacts.cs (1)
232public bool IsGlobalStatement([NotNullWhen(true)] SyntaxNode? node)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicSyntaxFacts.vb (1)
223Public Function IsGlobalStatement(node As SyntaxNode) As Boolean Implements ISyntaxFacts.IsGlobalStatement
5 references to IsGlobalStatement
Microsoft.CodeAnalysis.CodeStyle (4)
UseCollectionInitializerAnalyzer.cs (2)
66if (_syntaxFacts.IsGlobalStatement(containingBlockOrCompilationUnit)) 90var extractedChild = _syntaxFacts.IsGlobalStatement(childNode) ? _syntaxFacts.GetStatementOfGlobalStatement(childNode) : childNode;
UseNamedMemberInitializerAnalyzer.cs (2)
68if (_syntaxFacts.IsGlobalStatement(containingBlockOrCompilationUnit)) 96var extractedChild = _syntaxFacts.IsGlobalStatement(childNode) ? _syntaxFacts.GetStatementOfGlobalStatement(childNode) : childNode;
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicSyntaxFacts.vb (1)
223Public Function IsGlobalStatement(node As SyntaxNode) As Boolean Implements ISyntaxFacts.IsGlobalStatement