You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the first token of a namespace begins with the string "System" then it is interpreted as a System namespace. For example, the following would be considered a System namespace under this rule: using Systematics.Media.UI.ButtonIcons;
The Visual Studio setting "Place 'System' directives first when sorting usings" does NOT put these type of usings first, raising the false positive.
I propose tokenizing the namespace strings by '.' and looking for an exact match of "System" or "global::System" in the first token string to calculate isFirstSystem and isSecondSystem for CompareOrderOfUsingDirectives().
The text was updated successfully, but these errors were encountered:
If the first token of a namespace begins with the string "System" then it is interpreted as a System namespace. For example, the following would be considered a System namespace under this rule:
using Systematics.Media.UI.ButtonIcons;
The Visual Studio setting "Place 'System' directives first when sorting usings" does NOT put these type of usings first, raising the false positive.
I propose tokenizing the namespace strings by '.' and looking for an exact match of "System" or "global::System" in the first token string to calculate isFirstSystem and isSecondSystem for CompareOrderOfUsingDirectives().
The text was updated successfully, but these errors were encountered: