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