Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
3670ca8
feat(atc): add IsHostName and IP address validation string extensions
davidkallesen Jun 19, 2026
06ca2f5
chore: nuget updates
davidkallesen Jun 19, 2026
1ea3d10
chore: fix some CA1307 / MA0074
davidkallesen Jun 19, 2026
c3d9855
fix(atc): harden ProcessHelper invocation
davidkallesen Jun 19, 2026
3405221
fix(atc): restore exception state in serialization constructors on ne…
davidkallesen Jun 19, 2026
3c8b5ee
fix(atc): correctness fixes across core extensions, helpers, units an…
davidkallesen Jun 19, 2026
2b86437
fix(atc-rest): guard pagination page count and harden x-request-id ha…
davidkallesen Jun 19, 2026
b24eea3
fix(atc-rest-extended): keep JWT signature validation fail-closed
davidkallesen Jun 19, 2026
24942d8
fix(atc-rest-healthchecks): respect RequestAborted when writing the h…
davidkallesen Jun 19, 2026
83d90a8
fix(atc-console-spectre): escape category name and return a no-op scope
davidkallesen Jun 19, 2026
d8a79bb
fix(atc-codedoc): make markdown generation null-safe and table-safe
davidkallesen Jun 19, 2026
75cfbdd
fix(atc-openapi): guard null reference in GetEnumSchema
davidkallesen Jun 19, 2026
8b15eb4
fix(atc-rest-fluentassertions): accept application/json with charset
davidkallesen Jun 19, 2026
c9fada7
docs: regenerate CodeDoc for the updated XML documentation
davidkallesen Jun 19, 2026
68123ff
feat(atc): extend StringHasIsExtensions with network validation helpers
davidkallesen Jun 20, 2026
c4d64cb
fix(atc): harden IO and DataTable extensions
davidkallesen Jun 20, 2026
627d599
fix(atc): fix CountDecimalPoints infinite loop and SetHourAndMinutes …
davidkallesen Jun 20, 2026
3dbc3e2
fix(atc): restore CurrentUICulture in finally in CultureHelper
davidkallesen Jun 20, 2026
9149048
fix(atc): implement all 21 SI prefix conversions in InternationalSyst…
davidkallesen Jun 20, 2026
84bb6f1
fix(atc): use CurrentCulture instead of CurrentUICulture in ByteSizeF…
davidkallesen Jun 20, 2026
52961fb
docs: regenerate CodeDoc for InternationalSystemOfUnitsHelper and IO/…
davidkallesen Jun 20, 2026
bc8e63a
fix(atc): correct int sentinel values in MathHelper double Min/Max ov…
davidkallesen Jun 20, 2026
3ebbb3b
fix(atc): use UtcNow for LogItem default timestamp
davidkallesen Jun 20, 2026
f366165
fix(atc): guard utmZoneLetter[0] access after IsNullOrEmpty check
davidkallesen Jun 20, 2026
f816cb5
fix(atc): fix ByteSizeFormatter negative-size crash and plural suffix
davidkallesen Jun 20, 2026
e5b7f5a
fix(atc): route SwitchCaseDefaultException and UnexpectedTypeExceptio…
davidkallesen Jun 20, 2026
bdfdea9
fix(atc): guard DynamicJson intermediate path segments against KeyNot…
davidkallesen Jun 20, 2026
dab2f1b
fix(atc): deserialize Version from public properties instead of priva…
davidkallesen Jun 20, 2026
3ae138c
fix(atc): use NumberStyles.None for SemVer numeric identifier parsing
davidkallesen Jun 20, 2026
b033508
fix(atc-rest-extended): remove unused TelemetryClient from ConfigureA…
davidkallesen Jun 20, 2026
b9c4c47
fix(atc): use Ordinal comparison in IsInheritedFrom generic branch
davidkallesen Jun 20, 2026
9061e06
fix(atc): correct GetPowerSet overflow and GetUniqueCombinations comm…
davidkallesen Jun 20, 2026
26e50b4
fix(atc): replace law-of-cosines with Haversine in GeoSpatialHelper.D…
davidkallesen Jun 20, 2026
f2a8c54
fix(atc): guard JSON converters against null tokens and cache enum me…
davidkallesen Jun 20, 2026
4390dab
fix(atc): use IsDefined instead of materializing attributes in Member…
davidkallesen Jun 20, 2026
7358227
fix(atc): make shared CultureInfo instances read-only and use Invaria…
davidkallesen Jun 20, 2026
4346172
fix(atc): fix StringBuilder indent overloads and cache AsyncEnumerabl…
davidkallesen Jun 20, 2026
224c2bc
fix(atc-openapi): use InvariantCulture and Ordinal comparisons in res…
davidkallesen Jun 20, 2026
4c9fe6c
fix(atc-rest-healthchecks): handle duplicate health check names in To…
davidkallesen Jun 20, 2026
6f78906
fix(atc-xunit): use Path.GetTempPath() and suppress analyzer exceptio…
davidkallesen Jun 20, 2026
9b4f135
fix(atc-codedoc): fall back to AppDomain.BaseDirectory when assembly …
davidkallesen Jun 20, 2026
5f5c725
chore: add suggestions/ to .gitignore
davidkallesen Jun 22, 2026
697e26f
fix(atc): modernize Thread.CurrentThread.CurrentUICulture to CultureI…
davidkallesen Jun 22, 2026
46fa4a9
fix(atc): misc bug fixes and non-breaking improvements
davidkallesen Jun 22, 2026
bc8ea57
fix(atc-rest): fix DI, body-buffering, and CORS doc issues
davidkallesen Jun 22, 2026
2d3ced4
perf(atc-openapi): replace O(n) FirstOrDefault with TryGetValue in sc…
davidkallesen Jun 22, 2026
c7e820f
fix(atc-console-spectre): align Log formatter signature with ILogger<…
davidkallesen Jun 22, 2026
52fa549
fix(atc-dotnet): fix GetDotnetDirectory, extract ambiguity sentinel, …
davidkallesen Jun 22, 2026
597722d
fix(atc-codeanalysis-csharp): fix NRE, over-match, attribute lookup, …
davidkallesen Jun 22, 2026
a2cae4e
fix(atc-codedoc): eliminate per-call allocations and fragile path mat…
davidkallesen Jun 22, 2026
01ee834
fix(atc-xunit): fix handle leak, false-negative suppression, and O(n)…
davidkallesen Jun 22, 2026
c4a917b
feat(atc): add CancellationToken support across async APIs
davidkallesen Jun 22, 2026
9d68d4a
fix(atc): replace double.Epsilon with 1e-9 tolerance in IsEqual and I…
davidkallesen Jun 22, 2026
298266d
fix(atc-dotnet): fix MSBuild error regex and expose ParseErrors for u…
davidkallesen Jun 22, 2026
1141600
fix(atc-console-spectre): share IAnsiConsole across loggers from same…
davidkallesen Jun 22, 2026
89ff282
fix(atc): fix IsSet overflow on long-backed flag enums and align trut…
davidkallesen Jun 22, 2026
cb0c3bc
fix(atc-xunit): cache CSharpDecompiler per assembly to avoid repeated…
davidkallesen Jun 22, 2026
2734bb5
feat(atc-dotnet): add BuildAndCollectWarnings, ParseWarnings, and add…
davidkallesen Jun 22, 2026
87e4bb3
feat(atc-console-spectre): implement BeginScope with async-context sc…
davidkallesen Jun 22, 2026
dfb4403
feat(atc): add CharExtensions IsAsciiLetter/IsAsciiDigit/IsHexDigit/I…
davidkallesen Jun 22, 2026
aa8f2c3
feat(atc): add StartOfDay/EndOfDay/StartOfMonth/EndOfMonth/IsWeekend …
davidkallesen Jun 22, 2026
f71a3d6
feat(atc): add BeautifyName for ConstructorInfo/EventInfo and use Spa…
davidkallesen Jun 22, 2026
8c9eb30
feat(atc): extend exception API with non-enum overload and ThrowIf he…
davidkallesen Jun 22, 2026
17bc77f
feat(atc): add UsingSpecificCulture overloads to DateTimeOffsetHelper
davidkallesen Jun 22, 2026
692b376
feat(atc): implement IFormattable and IParsable/ISpanParsable on Sema…
davidkallesen Jun 22, 2026
4561473
fix(atc): replace Concat(sentinel).Min/Max with DefaultIfEmpty in Mat…
davidkallesen Jun 22, 2026
75afdab
feat(atc): extend ByteSize with IComparable, operators, Parse/TryPars…
davidkallesen Jun 22, 2026
f56c11c
feat(atc): add netstandard2.0 fallbacks for DictionaryExtensions GetO…
davidkallesen Jun 22, 2026
361de74
fix(atc): use Convert.ToInt64 in EnumHelper flag-skip logic; add long…
davidkallesen Jun 22, 2026
3507861
perf(atc): replace Math.Pow(x,2) with repeated multiplication in math…
davidkallesen Jun 22, 2026
338ceb2
feat(atc): add JsonSerializerOptionsFactory.Default cached preset
davidkallesen Jun 22, 2026
9d2d67c
perf(atc-console-spectre): pre-escape categoryName once in ConsoleLog…
davidkallesen Jun 22, 2026
f255b1e
fix(atc-xunit): remove debug-breakpoint throws from AnalyzerHelper
davidkallesen Jun 22, 2026
2d43f71
fix(atc-rest-extended): guard against ReflectionTypeLoadException in …
davidkallesen Jun 22, 2026
3e8ea55
feat(atc-rest-fluentassertions): add WithEmptyContent and BeOkResultW…
davidkallesen Jun 22, 2026
8e2b218
feat(atc-codeanalysis-csharp): extend syntax factories and declaratio…
davidkallesen Jun 22, 2026
2fedb01
feat(atc-codeanalysis-csharp): add argument-list and generic overload…
davidkallesen Jun 22, 2026
0cb821a
feat(atc-codedoc+atc-xunit): add explicit xmlDocPath overloads to doc…
davidkallesen Jun 22, 2026
12779ff
fix(atc-rest+atc-rest-healthchecks): harden ExceptionTelemetryMiddlew…
davidkallesen Jun 22, 2026
d9bec44
feat(atc): extend GeoSpatial helpers with bearing, Earth-radius param…
davidkallesen Jun 22, 2026
e75fa40
perf(atc-rest): optimize ServiceCollectionExtensions auto-registratio…
davidkallesen Jun 22, 2026
d7b7653
fix(atc-rest): avoid PII/cost in App Insights BadRequest trace from C…
davidkallesen Jun 22, 2026
1fa7cee
feat(atc): add ExecuteWithSeparateOutput to ProcessHelper
davidkallesen Jun 22, 2026
c0b4e4c
feat(atc-codeanalysis-csharp,atc-rest): add struct extensions and Obj…
davidkallesen Jun 22, 2026
995e978
fix(atc): use CurrentCulture (not CurrentUICulture) in CurrencyRounding
davidkallesen Jun 22, 2026
1457696
fix(atc): fix GetFileVersion for single-file published assemblies
davidkallesen Jun 22, 2026
a37ef6e
perf(atc-rest-healthchecks): stream JSON directly to response body, u…
davidkallesen Jun 22, 2026
21eba0c
fix(atc-rest-extended): remove blocking Task.Run+Wait from ConfigureA…
davidkallesen Jun 22, 2026
1bc0b74
fix(atc-codeanalysis-csharp-tests): disambiguate null overload in Syn…
davidkallesen Jun 22, 2026
b5deec0
fix(atc): use CurrentCulture instead of CurrentUICulture in TimeSpanE…
davidkallesen Jun 22, 2026
ae70a0b
feat(atc-rest): add RoleClaimType and NameClaimType to AuthorizationO…
davidkallesen Jun 22, 2026
9c9a047
test(atc): add missing tests for Bearing and ToWgs84(UtmResult) to fi…
davidkallesen Jun 22, 2026
e728b18
chore: nuget updates
davidkallesen Jun 23, 2026
90cb11a
fix(atc): replace Single() with typeof(CultureHelper).Assembly in Get…
davidkallesen Jun 24, 2026
a51d876
fix(atc-rest): use compact JSON in CreateContentResult factory methods
davidkallesen Jun 24, 2026
d68cfc2
test(atc-rest,atc-rest-healthchecks): update tests for ObjectResult a…
davidkallesen Jun 24, 2026
270e2dd
test(atc-codeanalysis-csharp): add missing compliance tests for synta…
davidkallesen Jun 24, 2026
7a930a9
feat(atc): add *Ui extension methods using CurrentUICulture; rename U…
davidkallesen Jun 24, 2026
a35e97e
test(atc): add tests for *Ui extension methods and update renamed met…
davidkallesen Jun 24, 2026
fe51944
docs: regenerate CodeDoc for all packages affected by this branch
davidkallesen Jun 24, 2026
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,4 @@ MigrationBackup/
/src/Atc.Rest.ApiGenerator.CLI/Properties/launchSettings.json
.idea
.claude/settings.local.json
suggestions/
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
<ItemGroup Label="Code Analyzers">
<PackageReference Include="Atc.Analyzer" Version="0.1.23" PrivateAssets="All" />
<PackageReference Include="AsyncFixer" Version="2.1.0" PrivateAssets="All" />
<PackageReference Include="Meziantou.Analyzer" Version="3.0.54" PrivateAssets="All" />
<PackageReference Include="Meziantou.Analyzer" Version="3.0.109" PrivateAssets="All" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="All" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.24.0.138807" PrivateAssets="All" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.27.0.140913" PrivateAssets="All" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,57 @@ Factory for creating `Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSynt
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`syntaxKind`&nbsp;&nbsp;-&nbsp;&nbsp;The syntax kind for the literal (string or numeric).<br />
>
><b>Returns:</b> A `Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax` node.
#### Create
>```csharp
>LiteralExpressionSyntax Create(long value)
>```
><b>Summary:</b> Creates a literal expression from a string value with the specified syntax kind.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`value`&nbsp;&nbsp;-&nbsp;&nbsp;The value for the literal expression.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`syntaxKind`&nbsp;&nbsp;-&nbsp;&nbsp;The syntax kind for the literal (string or numeric).<br />
>
><b>Returns:</b> A `Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax` node.
#### Create
>```csharp
>LiteralExpressionSyntax Create(double value)
>```
><b>Summary:</b> Creates a literal expression from a string value with the specified syntax kind.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`value`&nbsp;&nbsp;-&nbsp;&nbsp;The value for the literal expression.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`syntaxKind`&nbsp;&nbsp;-&nbsp;&nbsp;The syntax kind for the literal (string or numeric).<br />
>
><b>Returns:</b> A `Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax` node.
#### Create
>```csharp
>LiteralExpressionSyntax Create(bool value)
>```
><b>Summary:</b> Creates a literal expression from a string value with the specified syntax kind.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`value`&nbsp;&nbsp;-&nbsp;&nbsp;The value for the literal expression.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`syntaxKind`&nbsp;&nbsp;-&nbsp;&nbsp;The syntax kind for the literal (string or numeric).<br />
>
><b>Returns:</b> A `Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax` node.
#### Create
>```csharp
>LiteralExpressionSyntax Create(char value)
>```
><b>Summary:</b> Creates a literal expression from a string value with the specified syntax kind.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`value`&nbsp;&nbsp;-&nbsp;&nbsp;The value for the literal expression.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`syntaxKind`&nbsp;&nbsp;-&nbsp;&nbsp;The syntax kind for the literal (string or numeric).<br />
>
><b>Returns:</b> A `Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax` node.
#### CreateNull
>```csharp
>LiteralExpressionSyntax CreateNull()
>```
><b>Summary:</b> Creates a <see langword="null" /> literal expression.
>
><b>Returns:</b> A `Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax` node representing <see langword="null" />.

<br />

Expand Down Expand Up @@ -813,6 +864,70 @@ Factory for creating `Microsoft.CodeAnalysis.CSharp.Syntax.ObjectCreationExpress
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`identifierName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the type to instantiate.<br />
>
><b>Returns:</b> An `Microsoft.CodeAnalysis.CSharp.Syntax.ObjectCreationExpressionSyntax` node.
#### Create
>```csharp
>ObjectCreationExpressionSyntax Create(string identifierName, ArgumentListSyntax argumentList)
>```
><b>Summary:</b> Creates an object creation expression for a type.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`identifierName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the type to instantiate.<br />
>
><b>Returns:</b> An `Microsoft.CodeAnalysis.CSharp.Syntax.ObjectCreationExpressionSyntax` node.
#### Create
>```csharp
>ObjectCreationExpressionSyntax Create(string namespaceName, string identifierName, ArgumentListSyntax argumentList)
>```
><b>Summary:</b> Creates an object creation expression for a type.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`identifierName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the type to instantiate.<br />
>
><b>Returns:</b> An `Microsoft.CodeAnalysis.CSharp.Syntax.ObjectCreationExpressionSyntax` node.
#### CreateGeneric
>```csharp
>ObjectCreationExpressionSyntax CreateGeneric(string identifierName, TypeArgumentListSyntax typeArgumentList)
>```
><b>Summary:</b> Creates a generic object creation expression (e.g. `new List&lt;T&gt;()`).
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`identifierName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the generic type to instantiate.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`typeArgumentList`&nbsp;&nbsp;-&nbsp;&nbsp;The type argument list (e.g. <T>).<br />
>
><b>Returns:</b> An `Microsoft.CodeAnalysis.CSharp.Syntax.ObjectCreationExpressionSyntax` node for the generic type.
#### CreateGeneric
>```csharp
>ObjectCreationExpressionSyntax CreateGeneric(string identifierName, string typeArgumentName)
>```
><b>Summary:</b> Creates a generic object creation expression (e.g. `new List&lt;T&gt;()`).
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`identifierName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the generic type to instantiate.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`typeArgumentList`&nbsp;&nbsp;-&nbsp;&nbsp;The type argument list (e.g. <T>).<br />
>
><b>Returns:</b> An `Microsoft.CodeAnalysis.CSharp.Syntax.ObjectCreationExpressionSyntax` node for the generic type.
#### CreateGeneric
>```csharp
>ObjectCreationExpressionSyntax CreateGeneric(string identifierName, TypeArgumentListSyntax typeArgumentList, ArgumentListSyntax argumentList)
>```
><b>Summary:</b> Creates a generic object creation expression (e.g. `new List&lt;T&gt;()`).
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`identifierName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the generic type to instantiate.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`typeArgumentList`&nbsp;&nbsp;-&nbsp;&nbsp;The type argument list (e.g. <T>).<br />
>
><b>Returns:</b> An `Microsoft.CodeAnalysis.CSharp.Syntax.ObjectCreationExpressionSyntax` node for the generic type.
#### CreateGeneric
>```csharp
>ObjectCreationExpressionSyntax CreateGeneric(string identifierName, string typeArgumentName, ArgumentListSyntax argumentList)
>```
><b>Summary:</b> Creates a generic object creation expression (e.g. `new List&lt;T&gt;()`).
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`identifierName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the generic type to instantiate.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`typeArgumentList`&nbsp;&nbsp;-&nbsp;&nbsp;The type argument list (e.g. <T>).<br />
>
><b>Returns:</b> An `Microsoft.CodeAnalysis.CSharp.Syntax.ObjectCreationExpressionSyntax` node for the generic type.

<br />

Expand Down
2 changes: 2 additions & 0 deletions docs/CodeDoc/Atc.CodeAnalysis.CSharp/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
- [EnumDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#enumdeclarationsyntaxextensions)
- [InterfaceDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#interfacedeclarationsyntaxextensions)
- [MethodDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#methoddeclarationsyntaxextensions)
- [RecordDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#recorddeclarationsyntaxextensions)
- [StructDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#structdeclarationsyntaxextensions)
- [SyntaxNodeExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#syntaxnodeextensions)
- [UsingDirectiveSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#usingdirectivesyntaxextensions)

Expand Down
20 changes: 20 additions & 0 deletions docs/CodeDoc/Atc.CodeAnalysis.CSharp/IndexExtended.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,13 @@
- StringTextParenthesesEnd()
- [SyntaxLiteralExpressionFactory](Atc.CodeAnalysis.CSharp.SyntaxFactories.md#syntaxliteralexpressionfactory)
- Static Methods
- Create(bool value)
- Create(char value)
- Create(double value)
- Create(int value)
- Create(long value)
- Create(string value, SyntaxKind syntaxKind = StringLiteralExpression)
- CreateNull()
- [SyntaxMemberAccessExpressionFactory](Atc.CodeAnalysis.CSharp.SyntaxFactories.md#syntaxmemberaccessexpressionfactory)
- Static Methods
- Create(string memberTypeName, string memberName)
Expand All @@ -108,7 +113,13 @@
- [SyntaxObjectCreationExpressionFactory](Atc.CodeAnalysis.CSharp.SyntaxFactories.md#syntaxobjectcreationexpressionfactory)
- Static Methods
- Create(string identifierName)
- Create(string identifierName, ArgumentListSyntax argumentList)
- Create(string namespaceName, string identifierName)
- Create(string namespaceName, string identifierName, ArgumentListSyntax argumentList)
- CreateGeneric(string identifierName, TypeArgumentListSyntax typeArgumentList)
- CreateGeneric(string identifierName, TypeArgumentListSyntax typeArgumentList, ArgumentListSyntax argumentList)
- CreateGeneric(string identifierName, string typeArgumentName)
- CreateGeneric(string identifierName, string typeArgumentName, ArgumentListSyntax argumentList)
- [SyntaxParameterFactory](Atc.CodeAnalysis.CSharp.SyntaxFactories.md#syntaxparameterfactory)
- Static Methods
- Create(string parameterTypeName, string parameterName, string genericListTypeName = null)
Expand Down Expand Up @@ -194,9 +205,18 @@
- [InterfaceDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#interfacedeclarationsyntaxextensions)
- Static Methods
- AddGeneratedCodeAttribute(this InterfaceDeclarationSyntax interfaceDeclaration, string toolName, string version)
- AddSuppressMessageAttribute(this InterfaceDeclarationSyntax interfaceDeclaration, SuppressMessageAttribute suppressMessage)
- [MethodDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#methoddeclarationsyntaxextensions)
- Static Methods
- AddSuppressMessageAttribute(this MethodDeclarationSyntax methodDeclaration, SuppressMessageAttribute suppressMessage)
- [RecordDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#recorddeclarationsyntaxextensions)
- Static Methods
- AddGeneratedCodeAttribute(this RecordDeclarationSyntax recordDeclaration, string toolName, string version)
- AddSuppressMessageAttribute(this RecordDeclarationSyntax recordDeclaration, SuppressMessageAttribute suppressMessage)
- [StructDeclarationSyntaxExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#structdeclarationsyntaxextensions)
- Static Methods
- AddGeneratedCodeAttribute(this StructDeclarationSyntax structDeclaration, string toolName, string version)
- AddSuppressMessageAttribute(this StructDeclarationSyntax structDeclaration, SuppressMessageAttribute suppressMessage)
- [SyntaxNodeExtensions](Microsoft.CodeAnalysis.CSharp.Syntax.md#syntaxnodeextensions)
- Static Methods
- GetUsedUsingStatements(this SyntaxNode syntaxNode)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,17 @@ Extension methods for `Microsoft.CodeAnalysis.CSharp.Syntax.InterfaceDeclaration
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`version`&nbsp;&nbsp;-&nbsp;&nbsp;The version of the code generation tool.<br />
>
><b>Returns:</b> A new `Microsoft.CodeAnalysis.CSharp.Syntax.InterfaceDeclarationSyntax` with the attribute added.
#### AddSuppressMessageAttribute
>```csharp
>InterfaceDeclarationSyntax AddSuppressMessageAttribute(this InterfaceDeclarationSyntax interfaceDeclaration, SuppressMessageAttribute suppressMessage)
>```
><b>Summary:</b> Adds a `System.Diagnostics.CodeAnalysis.SuppressMessageAttribute` to the interface declaration.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`interfaceDeclaration`&nbsp;&nbsp;-&nbsp;&nbsp;The interface declaration to modify.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`suppressMessage`&nbsp;&nbsp;-&nbsp;&nbsp;The suppress message attribute to add.<br />
>
><b>Returns:</b> A new `Microsoft.CodeAnalysis.CSharp.Syntax.InterfaceDeclarationSyntax` with the attribute added.

<br />

Expand All @@ -156,6 +167,76 @@ Extension methods for `Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyn

<br />

## RecordDeclarationSyntaxExtensions
Extension methods for `Microsoft.CodeAnalysis.CSharp.Syntax.RecordDeclarationSyntax`.

>```csharp
>public static class RecordDeclarationSyntaxExtensions
>```

### Static Methods

#### AddGeneratedCodeAttribute
>```csharp
>RecordDeclarationSyntax AddGeneratedCodeAttribute(this RecordDeclarationSyntax recordDeclaration, string toolName, string version)
>```
><b>Summary:</b> Adds a `System.CodeDom.Compiler.GeneratedCodeAttribute` to the record declaration.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`recordDeclaration`&nbsp;&nbsp;-&nbsp;&nbsp;The record declaration to modify.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`toolName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the code generation tool.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`version`&nbsp;&nbsp;-&nbsp;&nbsp;The version of the code generation tool.<br />
>
><b>Returns:</b> A new `Microsoft.CodeAnalysis.CSharp.Syntax.RecordDeclarationSyntax` with the attribute added.
#### AddSuppressMessageAttribute
>```csharp
>RecordDeclarationSyntax AddSuppressMessageAttribute(this RecordDeclarationSyntax recordDeclaration, SuppressMessageAttribute suppressMessage)
>```
><b>Summary:</b> Adds a `System.Diagnostics.CodeAnalysis.SuppressMessageAttribute` to the record declaration.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`recordDeclaration`&nbsp;&nbsp;-&nbsp;&nbsp;The record declaration to modify.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`suppressMessage`&nbsp;&nbsp;-&nbsp;&nbsp;The suppress message attribute to add.<br />
>
><b>Returns:</b> A new `Microsoft.CodeAnalysis.CSharp.Syntax.RecordDeclarationSyntax` with the attribute added.

<br />

## StructDeclarationSyntaxExtensions
Extension methods for `Microsoft.CodeAnalysis.CSharp.Syntax.StructDeclarationSyntax`.

>```csharp
>public static class StructDeclarationSyntaxExtensions
>```

### Static Methods

#### AddGeneratedCodeAttribute
>```csharp
>StructDeclarationSyntax AddGeneratedCodeAttribute(this StructDeclarationSyntax structDeclaration, string toolName, string version)
>```
><b>Summary:</b> Adds a `System.CodeDom.Compiler.GeneratedCodeAttribute` to the struct declaration.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`structDeclaration`&nbsp;&nbsp;-&nbsp;&nbsp;The struct declaration to modify.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`toolName`&nbsp;&nbsp;-&nbsp;&nbsp;The name of the code generation tool.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`version`&nbsp;&nbsp;-&nbsp;&nbsp;The version of the code generation tool.<br />
>
><b>Returns:</b> A new `Microsoft.CodeAnalysis.CSharp.Syntax.StructDeclarationSyntax` with the attribute added.
#### AddSuppressMessageAttribute
>```csharp
>StructDeclarationSyntax AddSuppressMessageAttribute(this StructDeclarationSyntax structDeclaration, SuppressMessageAttribute suppressMessage)
>```
><b>Summary:</b> Adds a `System.Diagnostics.CodeAnalysis.SuppressMessageAttribute` to the struct declaration.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`structDeclaration`&nbsp;&nbsp;-&nbsp;&nbsp;The struct declaration to modify.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`suppressMessage`&nbsp;&nbsp;-&nbsp;&nbsp;The suppress message attribute to add.<br />
>
><b>Returns:</b> A new `Microsoft.CodeAnalysis.CSharp.Syntax.StructDeclarationSyntax` with the attribute added.

<br />

## SyntaxNodeExtensions
Extension methods for `Microsoft.CodeAnalysis.SyntaxNode`.

Expand Down
21 changes: 21 additions & 0 deletions docs/CodeDoc/Atc.CodeDocumentation/Atc.CodeDocumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ Provides public API methods for collecting and analyzing XML documentation comme
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`type`&nbsp;&nbsp;-&nbsp;&nbsp;The type to collect documentation for.<br />
>
><b>Returns:</b> The type comments, or <see langword="null" /> if the type was not found.
#### CollectExportedTypeWithCommentsFromType
>```csharp
>TypeComments CollectExportedTypeWithCommentsFromType(Type type, FileInfo xmlDocPath)
>```
><b>Summary:</b> Collects XML documentation comments for a specific type from its assembly.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`type`&nbsp;&nbsp;-&nbsp;&nbsp;The type to collect documentation for.<br />
>
><b>Returns:</b> The type comments, or <see langword="null" /> if the type was not found.
#### CollectExportedTypesWithMissingCommentsFromAssembly
>```csharp
>TypeComments[] CollectExportedTypesWithMissingCommentsFromAssembly(Assembly assembly, List<Type> excludeTypes = null)
Expand All @@ -63,6 +73,17 @@ Provides public API methods for collecting and analyzing XML documentation comme
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`excludeTypes`&nbsp;&nbsp;-&nbsp;&nbsp;Optional list of types to exclude from the results.<br />
>
><b>Returns:</b> An array of type comments for types missing documentation.
#### CollectExportedTypesWithMissingCommentsFromAssembly
>```csharp
>TypeComments[] CollectExportedTypesWithMissingCommentsFromAssembly(Assembly assembly, FileInfo xmlDocPath, List<Type> excludeTypes = null)
>```
><b>Summary:</b> Collects all public types from an assembly that are missing XML documentation comments.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`assembly`&nbsp;&nbsp;-&nbsp;&nbsp;The assembly to scan for types.<br />
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`excludeTypes`&nbsp;&nbsp;-&nbsp;&nbsp;Optional list of types to exclude from the results.<br />
>
><b>Returns:</b> An array of type comments for types missing documentation.
#### CollectExportedTypesWithMissingCommentsFromAssemblyAndGenerateText
>```csharp
>string CollectExportedTypesWithMissingCommentsFromAssemblyAndGenerateText(Assembly assembly, List<Type> excludeTypes = null, bool useFullName = False)
Expand Down
2 changes: 2 additions & 0 deletions docs/CodeDoc/Atc.CodeDocumentation/IndexExtended.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
- [DocumentationHelper](Atc.CodeDocumentation.md#documentationhelper)
- Static Methods
- CollectExportedTypeWithCommentsFromType(Type type)
- CollectExportedTypeWithCommentsFromType(Type type, FileInfo xmlDocPath)
- CollectExportedTypesWithMissingCommentsFromAssembly(Assembly assembly, FileInfo xmlDocPath, List&lt;Type&gt; excludeTypes = null)
- CollectExportedTypesWithMissingCommentsFromAssembly(Assembly assembly, List&lt;Type&gt; excludeTypes = null)
- CollectExportedTypesWithMissingCommentsFromAssemblyAndGenerateText(Assembly assembly, List&lt;Type&gt; excludeTypes = null, bool useFullName = False)
- CollectExportedTypesWithMissingCommentsFromAssemblyAndGenerateTextLines(Assembly assembly, List&lt;Type&gt; excludeTypes = null, bool useFullName = False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ Configuration options for the console logger used in Spectre.Console CLI applica
>IncludeInnerMessageForException
>```
><b>Summary:</b> Gets or sets a value indicating whether the inner-exception-message should be rendered.
#### IncludeScopes
>```csharp
>IncludeScopes
>```
><b>Summary:</b> Gets or sets a value indicating whether log scope values are included in the output. When enabled, active scopes opened via `Microsoft.Extensions.Logging.ILogger.BeginScope``1(``0)` are rendered as a grey prefix before the log message.
#### MinimumLogLevel
>```csharp
>MinimumLogLevel
Expand Down Expand Up @@ -125,7 +130,7 @@ Provides logger instances configured for Spectre.Console rendering.
>```csharp
>ILogger CreateLogger(string categoryName)
>```
><b>Summary:</b> Creates a new `Atc.Console.Spectre.Logging.ConsoleLogger` instance for the specified category.
><b>Summary:</b> Creates a new `Atc.Console.Spectre.Logging.ConsoleLogger` instance for the specified category. All loggers share the provider's `Spectre.Console.IAnsiConsole` instance.
>
><b>Parameters:</b><br>
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`categoryName`&nbsp;&nbsp;-&nbsp;&nbsp;The category name for the logger.<br />
Expand Down
Loading
Loading