Skip to content

Commit 37c6b2d

Browse files
Enabled source generator option.
1 parent c7b2e10 commit 37c6b2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var myNum = ThreadSafeRandom.Instance.Next();
1919
```
2020

2121
## Source Generator
22-
The usage as a source generator is almost identical to using it as a dependency. The only difference is changing:
22+
The usage as a source generator is almost identical to using it as a dependency. The main difference is changing:
2323

2424
```xml
2525
<PackageReference Include="ThreadSafeRandomizer" Version="2.0.3" />
@@ -33,3 +33,5 @@ to:
3333
<IncludeAssets>analyzers</IncludeAssets>
3434
</PackageReference>
3535
```
36+
37+
However, please note that the source generated file will purposely be `internal` rather than `public` to avoid conflicts.

0 commit comments

Comments
 (0)