diff --git a/src/Agoda.Analyzers/AgodaCustom/AG0018PermitOnlyCertainPubliclyExposedEnumerables.cs b/src/Agoda.Analyzers/AgodaCustom/AG0018PermitOnlyCertainPubliclyExposedEnumerables.cs index c657fd6..51770a7 100644 --- a/src/Agoda.Analyzers/AgodaCustom/AG0018PermitOnlyCertainPubliclyExposedEnumerables.cs +++ b/src/Agoda.Analyzers/AgodaCustom/AG0018PermitOnlyCertainPubliclyExposedEnumerables.cs @@ -1,4 +1,4 @@ -// +// // AGODA ® is a registered trademark of AGIP LLC, used under license by Agoda Company Co., Ltd.. Agoda is part of Priceline (NASDAQ:PCLN) // using System.Collections.Immutable; diff --git a/src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.Designer.cs b/src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.Designer.cs index 46e4f46..c4f60fb 100644 --- a/src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.Designer.cs +++ b/src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.Designer.cs @@ -232,7 +232,7 @@ public static string AG0013Title { } /// - /// Looks up a localized string similar to Ensure that publicly exposed IEnumerable types. + /// Looks up a localized string similar to AG0018: Ensure that publicly exposed enumerable types are on our whitelist. /// public static string AG0018Title { get { diff --git a/src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.resx b/src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.resx index dfc436f..fee6462 100644 --- a/src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.resx +++ b/src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.resx @@ -198,7 +198,7 @@ Prevent use of dynamic - Ensure that publicly exposed IEnumerable types + Strong return type, we recommend using interfaces over the concrete implementations. Publicly exposed enumerable types must be on our whitelist. e.g. IList, IEnum, etc. Use only CSS Selectors to find elements in Selenium tests @@ -248,4 +248,4 @@ One exception is logging, where it can be useful to see the exact DC / cluster / Do not use #region directives - \ No newline at end of file +