EnumExtensions.IsMoreRestrictiveThan(Accessibility, Accessibility) Method
Containing Type: EnumExtensions
Assembly: Roslynator.Core.dll
Returns true if the accessibility if more restrictive than the other accessibility.
public static bool IsMoreRestrictiveThan(this Microsoft.CodeAnalysis.Accessibility accessibility, Microsoft.CodeAnalysis.Accessibility other)
Parameters
accessibility Accessibility
other Accessibility