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)
243
if (usings.IsSorted(
UsingsAndExternAliasesDirectiveComparer
.SystemFirstInstance) ||
244
usings.IsSorted(
UsingsAndExternAliasesDirectiveComparer
.NormalInstance))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
128
?
UsingsAndExternAliasesDirectiveComparer
.SystemFirstInstance
129
:
UsingsAndExternAliasesDirectiveComparer
.NormalInstance;