Skip to content

Commit

Permalink
Allow comma separated list of excluded types
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Oct 22, 2022
1 parent 8c4193f commit 882b301
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ It also includes the following optional runtime-supported polyfills:
The following properties are available:
- "PolySharpUsePublicAccessibilityForGeneratedTypes": makes all generated types public.
- "PolySharpIncludeRuntimeSupportedAttributes": enables polyfills for (dummy) runtime-supported attributes too.
- "PolySharpExcludeGeneratedTypes": excludes specific types from generation (';' separated type names).
- "PolySharpExcludeGeneratedTypes": excludes specific types from generation (';' or ',' separated type names).
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static ImmutableArray<string> GetStringArrayMSBuildProperty(this Analyzer
{
using ImmutableArrayBuilder<string> builder = ImmutableArrayBuilder<string>.Rent();

foreach (string part in propertyValue.Split(';'))
foreach (string part in propertyValue.Split(',', ';'))
{
string trimmed = part.Trim();

Expand Down

0 comments on commit 882b301

Please sign in to comment.