2 instantiations of UsingsAndExternAliasesDirectiveComparer
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesDirectiveComparer.cs (2)
14
public static readonly IComparer<SyntaxNode> NormalInstance = new
UsingsAndExternAliasesDirectiveComparer
(
18
public static readonly IComparer<SyntaxNode> SystemFirstInstance = new
UsingsAndExternAliasesDirectiveComparer
(
6 references to UsingsAndExternAliasesDirectiveComparer
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
235
if (usings.IsSorted(
UsingsAndExternAliasesDirectiveComparer
.SystemFirstInstance) ||
236
usings.IsSorted(
UsingsAndExternAliasesDirectiveComparer
.NormalInstance))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
119
?
UsingsAndExternAliasesDirectiveComparer
.SystemFirstInstance
120
:
UsingsAndExternAliasesDirectiveComparer
.NormalInstance;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\UsingDirectiveSyntaxExtensions.cs (2)
19
var systemFirstInstance =
UsingsAndExternAliasesDirectiveComparer
.SystemFirstInstance;
20
var normalInstance =
UsingsAndExternAliasesDirectiveComparer
.NormalInstance;