Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the error message shown for AG0018: #155

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="AG0018EnsureThatPubliclyExposedIEnumerableTypes.cs" company="Agoda Company Co., Ltd.">
// <copyright file="AG0018PermitOnlyCertainPubliclyExposedEnumerables.cs" company="Agoda Company Co., Ltd.">
// AGODA ® is a registered trademark of AGIP LLC, used under license by Agoda Company Co., Ltd.. Agoda is part of Priceline (NASDAQ:PCLN)
// </copyright>
using System.Collections.Immutable;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Agoda.Analyzers/AgodaCustom/CustomRulesResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
<value>Prevent use of dynamic</value>
</data>
<data name="AG0018Title" xml:space="preserve">
<value>Ensure that publicly exposed IEnumerable types</value>
<value>Invalid return type. Publicly exposed enumerable types must be on our whitelist.</value>
szaboopeeter marked this conversation as resolved.
Show resolved Hide resolved
</data>
<data name="AG0026Title" xml:space="preserve">
<value>Use only CSS Selectors to find elements in Selenium tests</value>
Expand Down