2 instantiations of UsingsAndExternAliasesDirectiveComparer
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesDirectiveComparer.cs (2)
14public static readonly IComparer<SyntaxNode> NormalInstance = new UsingsAndExternAliasesDirectiveComparer( 18public 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)
235if (usings.IsSorted(UsingsAndExternAliasesDirectiveComparer.SystemFirstInstance) || 236usings.IsSorted(UsingsAndExternAliasesDirectiveComparer.NormalInstance))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
119? UsingsAndExternAliasesDirectiveComparer.SystemFirstInstance 120: UsingsAndExternAliasesDirectiveComparer.NormalInstance;