17 references to UsingKind
Microsoft.CodeAnalysis.CSharp.CodeStyle (17)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesDirectiveComparer.cs (17)
46private static UsingKind GetUsingKind(UsingDirectiveSyntax? usingDirective, ExternAliasDirectiveSyntax? externDirective) 50return UsingKind.Extern; 60return UsingKind.GlobalAlias; 63return UsingKind.GlobalUsingStatic; 65return UsingKind.GlobalNamespace; 70return UsingKind.Alias; 73return UsingKind.UsingStatic; 75return UsingKind.Namespace; 95var directive1Kind = GetUsingKind(using1, extern1); 96var directive2Kind = GetUsingKind(using2, extern2); 118case UsingKind.Extern: 122case UsingKind.Alias: 123case UsingKind.GlobalAlias: 140static bool IsGlobal(UsingKind kind) 141=> kind is UsingKind.GlobalAlias or UsingKind.GlobalNamespace or UsingKind.GlobalUsingStatic;