Ejemplo n.º 1
0
 /// <summary>
 /// Compare public &lt; internal &lt; protected.
 /// </summary>
 /// <param name="x">The first modifiers.</param>
 /// <param name="y">The other modifiers.</param>
 /// <param name="default">The default value when missing.</param>
 /// <returns>A signed integer that indicates if the node should be before the other according to StyleCop.</returns>
 internal static int CompareAccessability(SyntaxTokenList x, SyntaxTokenList y, Accessibility @default)
 {
     return(CompareAccessability(
                x.Accessibility(@default),
                y.Accessibility(@default)));
 }