File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
StyleCop.Analyzers/StyleCop.Analyzers Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ private static bool ContainsGlobalUsingAliasInCurrentFileNoCache(SyntaxTree tree
7171 {
7272 // Check for "global" using aliases in one specific syntax tree
7373 var nodes = ( ( CompilationUnitSyntax ) tree . GetRoot ( ) ) . Usings ;
74- return nodes . Any ( x => x . GlobalKeyword ( ) . IsKind ( SyntaxKindEx . GlobalKeyword ) && x . Alias != null ) ;
74+ return nodes . Any ( x => x . GlobalKeyword ( ) . IsKind ( SyntaxKind . GlobalKeyword ) && x . Alias != null ) ;
7575 }
7676
7777 private bool ContainsGlobalUsingAlias ( SemanticModel semanticModel , CancellationToken cancellationToken )
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ internal static class SyntaxKindEx
99 {
1010 public const SyntaxKind DotDotToken = ( SyntaxKind ) 8222 ;
1111 public const SyntaxKind QuestionQuestionEqualsToken = ( SyntaxKind ) 8284 ;
12- public const SyntaxKind GlobalKeyword = ( SyntaxKind ) 8408 ;
1312 public const SyntaxKind OrKeyword = ( SyntaxKind ) 8438 ;
1413 public const SyntaxKind AndKeyword = ( SyntaxKind ) 8439 ;
1514 public const SyntaxKind NotKeyword = ( SyntaxKind ) 8440 ;
You can’t perform that action at this time.
0 commit comments