2 instantiations of UsingsAndExternAliasesDirectiveComparer
Microsoft.CodeAnalysis.CSharp.CodeStyle (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
(
4 references to UsingsAndExternAliasesDirectiveComparer
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
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;