Skip to content

Commit 399da2e

Browse files
committed
Fix a comment for '[Embedded]' fixups
1 parent 9877132 commit 399da2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PolySharp.SourceGenerators/PolyfillsGenerator.Polyfills.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ private void EmitGeneratedType(SourceProductionContext context, GeneratedType ty
292292
// change is so minimal, it can very well just be done this way to keep things simple, that's fine in this case.
293293
adjustedSource = adjustedSource.Replace(" internal ", " public ");
294294

295-
// If types are public, we also need to strip the '[Embedded]' attributes, as it's only allowed on public types
295+
// If types are public, we also need to strip the '[Embedded]' attributes, as it's not allowed on public types
296296
adjustedSource = EmbeddedAttributeRegex.Replace(adjustedSource, "");
297297
}
298298

0 commit comments

Comments
 (0)