Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
30 changes: 26 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# RSCG - 234 Examples of Roslyn Source Code Generators / 14 created by Microsoft /
# RSCG - 235 Examples of Roslyn Source Code Generators / 14 created by Microsoft /

The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 234 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 235 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.

This system serves as both a learning resource for .NET developers interested in source generators and an automated pipeline for maintaining up-to-date documentation about the RSCG ecosystem

## Latest Update : 2025-10-04 => 04 October 2025
## Latest Update : 2025-10-05 => 05 October 2025

If you want to see examples with code, please click ***[List V2](https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG)***

Expand All @@ -24,8 +24,30 @@ If you want to be notified each time I add a new RSCG example , please click htt

## Content

Those are the 234 Roslyn Source Code Generators that I have tested you can see and download source code example.
Those are the 235 Roslyn Source Code Generators that I have tested you can see and download source code example.
( including 14 from Microsoft )
### 235. [Csvcsharp](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Csvcsharp) , in the [Serializer](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#serializer) category

Generated on : 2025-10-05 => 05 October 2025

<details>
<summary>Expand</summary>



Author: Yusuke Nakada

Fast CSV Serializer for .NET and Unity.

Nuget: [https://www.nuget.org/packages/Csvcsharp/](https://www.nuget.org/packages/Csvcsharp/)


Link: [https://ignatandrei.github.io/RSCG_Examples/v2/docs/Csvcsharp](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Csvcsharp)

Source: [https://github.com/nuskey8/Csv-CSharp](https://github.com/nuskey8/Csv-CSharp)

</details>

### 234. [RapidEnum](https://ignatandrei.github.io/RSCG_Examples/v2/docs/RapidEnum) , in the [Enum](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enum) category

Generated on : 2025-10-04 => 04 October 2025
Expand Down
2 changes: 1 addition & 1 deletion later.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Just later

## Latest Update : 2025-10-04 => 04 October 2025
## Latest Update : 2025-10-05 => 05 October 2025



Expand Down
2 changes: 1 addition & 1 deletion v2/Generator/DocusaurusExample.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import SameCategory from '../Categories/_Primitive{{category}}.mdx';
# {{ Description.Generator.Name }} by {{Description.Generator.Author}}


<TOCInline toc={toc} />
<TOCInline toc={toc} minHeadingLevel={2} maxHeadingLevel={2} />

## NuGet / site data
{{Description.Generator.MarkDownNugetDownloads}}
Expand Down
1 change: 1 addition & 0 deletions v2/Generator/all.csv
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,4 @@ Nr,Key,Source,Category
232,ConsoleAppFramework, https://github.com/Cysharp/ConsoleAppFramework,Console
233,Vyaml, https://github.com/hadashiA/VYaml,Serializer
234,RapidEnum, https://github.com/hanachiru/RapidEnum,Enum
235,CsvCsharp, https://github.com/nuskey8/Csv-CSharp,Serializer
7 changes: 7 additions & 0 deletions v2/RSCGExamplesData/GeneratorDataRec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1414,5 +1414,12 @@
"Category":19,
"dtStart": "2025-10-04T00:00:00",
"show": true
},

{
"ID":"CsvCsharp",
"Category":16,
"dtStart": "2025-10-05T00:00:00",
"show": true
}
Comment on lines +1419 to 1424
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Naming inconsistency: "CsvCsharp" vs "Csvcsharp".

The ID here is "CsvCsharp", but other files in this PR use "Csvcsharp" (e.g., v2/book/list.html line 967, v2/rscg_examples_site/static/exports/RSCG.json line 1878). This inconsistency may cause lookup failures or broken links.

Apply consistent casing throughout. If the correct name is "CsvCsharp", update the other files accordingly.

🤖 Prompt for AI Agents
In v2/RSCGExamplesData/GeneratorDataRec.json around lines 1419-1424, the ID is
"CsvCsharp" which conflicts with other files that use "Csvcsharp"; update the ID
to match the canonical casing used elsewhere (or, if canonical is "CsvCsharp",
update all other occurrences to match) so all references are consistent; search
the repo for "CsvCsharp" and "Csvcsharp", pick the correct canonical value, then
change this entry and any mismatched files (e.g., v2/book/list.html and
v2/rscg_examples_site/static/exports/RSCG.json) to the same exact casing to
avoid lookup/link failures.

]
64 changes: 64 additions & 0 deletions v2/book/examples/Csvcsharp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

<h1>RSCG nr 235 : Csvcsharp</h1>

<h2>Info</h2>
Nuget : <a href="https://www.nuget.org/packages/Csvcsharp/" target="_blank">https://www.nuget.org/packages/Csvcsharp/</a>

<p>You can find more details at : <a href="https://github.com/nuskey8/Csv-CSharp" target="_blank"> https://github.com/nuskey8/Csv-CSharp</a></p>

<p>Author :Yusuke Nakada</p>

<p>Source: <a href="https://github.com/nuskey8/Csv-CSharp" target="_blank">https://github.com/nuskey8/Csv-CSharp</a> </p>

<h2>About</h2>

Serializer for CSV files

<h2>
How to use
</h2>
<h3>
Add reference to the <a href="https://www.nuget.org/packages/Csvcsharp/" target="_blank">Csvcsharp</a> in the csproj
</h3>
<img src="images/Csvcsharp/Serializer.csproj.png" width="580" height="580" />

<h3>This was for me the <b>starting</b> code</h3>

<br />
I have <b>coded</b> the file Program.cs
<br />
<img src="images/Csvcsharp/csFiles/Program.cs.png" width="580" height="580" />
<hr />

<br />
I have <b>coded</b> the file Person.cs
<br />
<img src="images/Csvcsharp/csFiles/Person.cs.png" width="580" height="580" />
<hr />
<h3>And here are the <i>generated</i> files</h3>

<br />
The file <i>generated</i> is SerializerDemo.Person.CsvSerializer.g.cs
<br />
<img src="images/Csvcsharp/generated/SerializerDemo.Person.CsvSerializer.g.cs.png" width="580" height="580" />

<br />
The file <i>generated</i> is SerializerDemo.Person.YamlFormatter.g.cs
<br />
<img src="images/Csvcsharp/generated/SerializerDemo.Person.YamlFormatter.g.cs.png" width="580" height="580" />

<p>
You can download the code and this page as pdf from
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/Csvcsharp'>
https://ignatandrei.github.io/RSCG_Examples/v2/docs/Csvcsharp
</a>
</p>


<p>
You can see the whole list at
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
</a>
</p>

6 changes: 5 additions & 1 deletion v2/book/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</head>
<body>
<h1>
This is the list of 234 RSCG with examples =>
This is the list of 235 RSCG with examples =>
</h1>

<table >
Expand Down Expand Up @@ -962,6 +962,10 @@ <h1>
<td>234</td>
<td><a href="examples/RapidEnum.html">RapidEnum</a></td>
</tr>
<tr>
<td>235</td>
<td><a href="examples/Csvcsharp.html">Csvcsharp</a></td>
</tr>
Comment on lines +965 to +968
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Naming inconsistency: "Csvcsharp" vs "CsvCsharp".

This uses "Csvcsharp" but v2/RSCGExamplesData/GeneratorDataRec.json uses "CsvCsharp" (line 1420). Ensure consistent casing across all files to prevent broken references.

🤖 Prompt for AI Agents
In v2/book/list.html around lines 965 to 968 the entry uses "Csvcsharp" which
mismatches the canonical "CsvCsharp" in
v2/RSCGExamplesData/GeneratorDataRec.json; update the anchor text to "CsvCsharp"
and the href to the correctly-cased file name (examples/CsvCsharp.html) so the
link and label match the JSON; verify other occurrences in this file use the
same casing.

</table>


Expand Down
1 change: 1 addition & 0 deletions v2/book/pandocHTML.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ input-files:
- examples/ConsoleAppFramework.html
- examples/VYaml.html
- examples/RapidEnum.html
- examples/Csvcsharp.html

# or you may use input-file: with a single value
# defaults:
Expand Down
22 changes: 22 additions & 0 deletions v2/rscg_examples/CsvCsharp/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"generator":{
"name":"Csvcsharp",
"nuget":[
"https://www.nuget.org/packages/Csvcsharp/"
Copy link

Copilot AI Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NuGet URL uses 'Csvcsharp' but should be 'CsvCSharp' to match the actual package name. This will cause the link to fail.

Suggested change
"https://www.nuget.org/packages/Csvcsharp/"
"https://www.nuget.org/packages/CsvCSharp/"

Copilot uses AI. Check for mistakes.
],
"link":"https://github.com/nuskey8/Csv-CSharp",
"author":"Yusuke Nakada",
"source":"https://github.com/nuskey8/Csv-CSharp"
},
"data":{
"goodFor":["Serializer for CSV files"],
"csprojDemo":"Serializer.csproj",
"csFiles":["Program.cs","Person.cs"],
"excludeDirectoryGenerated":[""],
"includeAdditionalFiles":[""]
},
"links":{
"blog":"",
"video":""
}
}
1 change: 1 addition & 0 deletions v2/rscg_examples/CsvCsharp/nuget.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fast CSV Serializer for .NET and Unity.
Loading
Loading