diff --git a/.editorconfig b/.editorconfig index daf44e3b..e0412088 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,6 +5,3 @@ dotnet_diagnostic.RS2008.severity = none # IDE0290: Use primary constructor dotnet_diagnostic.IDE0290.severity = none - -# show Dapper outputs -dotnet_diagnostic.DAP000.severity = suggestion diff --git a/Directory.Packages.props b/Directory.Packages.props index 701dc917..eb579d0f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,10 +1,10 @@ - + - + @@ -15,8 +15,8 @@ - - + + diff --git a/docs/gettingstarted.md b/docs/gettingstarted.md index c2314f8c..9e156d84 100644 --- a/docs/gettingstarted.md +++ b/docs/gettingstarted.md @@ -142,4 +142,15 @@ Build succeeded. 0 Error(s) ``` -That's.. underwhelming, but: a lot is going on under the covers. The fact that you didn't need to change your code is intentional. If we \ No newline at end of file +That's.. underwhelming, but: a lot is going on under the covers. The fact that you didn't need to change your code is intentional. Your data-access code is now +working build build-time support, and should work with AOT deployment. + +## Limitations and caveats + +`Dapper.AOT` does not support all `Dapper` features; not all APIs are supported, and when an API is supported it might have limitations - for example, the *generic* APIs +like `Query` should work, but the *non-generic* API passing `typeof(Foo)` *is not* supported. The underlying implementation is completely separate to `Dapper` (and *usually* +your code doesn't even need `Dapper` once compiled); there may be subtle differences in how some things behave. + +**PLEASE TEST YOUR CODE CAREFULLY** + +If something looks wrong, missing, or would benefit from more usage guidance [let us know!](https://github.com/DapperLib/DapperAOT/issues/new/choose) \ No newline at end of file diff --git a/src/Dapper.AOT.Analyzers/CodeAnalysis/DapperInterceptorGenerator.Diagnostics.cs b/src/Dapper.AOT.Analyzers/CodeAnalysis/DapperInterceptorGenerator.Diagnostics.cs index 405859c1..cc07fa11 100644 --- a/src/Dapper.AOT.Analyzers/CodeAnalysis/DapperInterceptorGenerator.Diagnostics.cs +++ b/src/Dapper.AOT.Analyzers/CodeAnalysis/DapperInterceptorGenerator.Diagnostics.cs @@ -8,7 +8,7 @@ internal sealed class Diagnostics : DiagnosticsBase { internal static readonly DiagnosticDescriptor - InterceptorsGenerated = LibraryInfo("DAP000", "Interceptors generated", "Dapper.AOT handled {0} of {1} possible call-sites using {2} interceptors, {3} commands and {4} readers"), + InterceptorsGenerated = LibraryHidden("DAP000", "Interceptors generated", "Dapper.AOT handled {0} of {1} possible call-sites using {2} interceptors, {3} commands and {4} readers"), LanguageVersionTooLow = LibraryWarning("DAP004", "Language version too low", "Interceptors require at least C# version 11"), CommandPropertyNotFound = LibraryWarning("DAP033", "Command property not found", "Command property {0}.{1} was not found or was not valid; attribute will be ignored"), diff --git a/src/Dapper.AOT.Analyzers/CodeAnalysis/Diagnostics.cs b/src/Dapper.AOT.Analyzers/CodeAnalysis/Diagnostics.cs index 4647bd46..28365332 100644 --- a/src/Dapper.AOT.Analyzers/CodeAnalysis/Diagnostics.cs +++ b/src/Dapper.AOT.Analyzers/CodeAnalysis/Diagnostics.cs @@ -17,6 +17,8 @@ private static DiagnosticDescriptor Create(string id, string title, string messa new(id, title, messageFormat, category, severity, true, helpLinkUri: RulesRoot + id); + protected static DiagnosticDescriptor LibraryHidden(string id, string title, string messageFormat) => Create(id, title, messageFormat, Category.Library, DiagnosticSeverity.Hidden); + protected static DiagnosticDescriptor LibraryWarning(string id, string title, string messageFormat) => Create(id, title, messageFormat, Category.Library, DiagnosticSeverity.Warning); protected static DiagnosticDescriptor LibraryError(string id, string title, string messageFormat) => Create(id, title, messageFormat, Category.Library, DiagnosticSeverity.Error); diff --git a/test/Dapper.AOT.Test/Interceptors/BaseCommandFactory.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/BaseCommandFactory.output.netfx.txt index 620e8548..6aee302d 100644 --- a/test/Dapper.AOT.Test/Interceptors/BaseCommandFactory.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/BaseCommandFactory.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 1 of 1 possible call-sites using 1 interceptors, 1 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/BaseCommandFactory.output.txt b/test/Dapper.AOT.Test/Interceptors/BaseCommandFactory.output.txt index 620e8548..6aee302d 100644 --- a/test/Dapper.AOT.Test/Interceptors/BaseCommandFactory.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/BaseCommandFactory.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 1 of 1 possible call-sites using 1 interceptors, 1 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/Blame.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/Blame.output.netfx.txt index 0cd9c804..4be5fa8a 100644 --- a/test/Dapper.AOT.Test/Interceptors/Blame.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/Blame.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 23 of 23 possible call-sites using 1 interceptors, 0 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/Blame.output.txt b/test/Dapper.AOT.Test/Interceptors/Blame.output.txt index 0cd9c804..4be5fa8a 100644 --- a/test/Dapper.AOT.Test/Interceptors/Blame.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/Blame.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 23 of 23 possible call-sites using 1 interceptors, 0 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/CacheCommand.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/CacheCommand.output.netfx.txt index b8eccb2c..67c3ff37 100644 --- a/test/Dapper.AOT.Test/Interceptors/CacheCommand.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/CacheCommand.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 4 of 4 possible call-sites using 4 interceptors, 6 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/CacheCommand.output.txt b/test/Dapper.AOT.Test/Interceptors/CacheCommand.output.txt index b8eccb2c..67c3ff37 100644 --- a/test/Dapper.AOT.Test/Interceptors/CacheCommand.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/CacheCommand.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 4 of 4 possible call-sites using 4 interceptors, 6 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/CommandProperties.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/CommandProperties.output.netfx.txt index ecae8005..363fc992 100644 --- a/test/Dapper.AOT.Test/Interceptors/CommandProperties.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/CommandProperties.output.netfx.txt @@ -1,6 +1,6 @@ Generator produced 3 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 6 of 6 possible call-sites using 5 interceptors, 7 commands and 1 readers Warning DAP033 Interceptors/CommandProperties.input.cs L12 C17 diff --git a/test/Dapper.AOT.Test/Interceptors/CommandProperties.output.txt b/test/Dapper.AOT.Test/Interceptors/CommandProperties.output.txt index ecae8005..363fc992 100644 --- a/test/Dapper.AOT.Test/Interceptors/CommandProperties.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/CommandProperties.output.txt @@ -1,6 +1,6 @@ Generator produced 3 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 6 of 6 possible call-sites using 5 interceptors, 7 commands and 1 readers Warning DAP033 Interceptors/CommandProperties.input.cs L12 C17 diff --git a/test/Dapper.AOT.Test/Interceptors/EnumerableExtensions.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/EnumerableExtensions.output.netfx.txt index 3df60c50..e79567e5 100644 --- a/test/Dapper.AOT.Test/Interceptors/EnumerableExtensions.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/EnumerableExtensions.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 6 of 6 possible call-sites using 1 interceptors, 0 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/EnumerableExtensions.output.txt b/test/Dapper.AOT.Test/Interceptors/EnumerableExtensions.output.txt index 3df60c50..e79567e5 100644 --- a/test/Dapper.AOT.Test/Interceptors/EnumerableExtensions.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/EnumerableExtensions.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 6 of 6 possible call-sites using 1 interceptors, 0 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/Execute.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/Execute.output.netfx.txt index 219c94dc..d11c7ca9 100644 --- a/test/Dapper.AOT.Test/Interceptors/Execute.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/Execute.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 6 of 6 possible call-sites using 6 interceptors, 1 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/Execute.output.txt b/test/Dapper.AOT.Test/Interceptors/Execute.output.txt index 219c94dc..d11c7ca9 100644 --- a/test/Dapper.AOT.Test/Interceptors/Execute.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/Execute.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 6 of 6 possible call-sites using 6 interceptors, 1 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/ExecuteBatch.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/ExecuteBatch.output.netfx.txt index 9aadafea..31a0a8b8 100644 --- a/test/Dapper.AOT.Test/Interceptors/ExecuteBatch.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/ExecuteBatch.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 9 of 9 possible call-sites using 9 interceptors, 3 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/ExecuteBatch.output.txt b/test/Dapper.AOT.Test/Interceptors/ExecuteBatch.output.txt index 9aadafea..31a0a8b8 100644 --- a/test/Dapper.AOT.Test/Interceptors/ExecuteBatch.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/ExecuteBatch.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 9 of 9 possible call-sites using 9 interceptors, 3 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/ExecuteScalar.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/ExecuteScalar.output.netfx.txt index 6e278562..3e8b7f1a 100644 --- a/test/Dapper.AOT.Test/Interceptors/ExecuteScalar.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/ExecuteScalar.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 12 of 12 possible call-sites using 12 interceptors, 1 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/ExecuteScalar.output.txt b/test/Dapper.AOT.Test/Interceptors/ExecuteScalar.output.txt index 6e278562..3e8b7f1a 100644 --- a/test/Dapper.AOT.Test/Interceptors/ExecuteScalar.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/ExecuteScalar.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 12 of 12 possible call-sites using 12 interceptors, 1 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/GetRowParser.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/GetRowParser.output.netfx.txt index 934fb73c..39fa3d1a 100644 --- a/test/Dapper.AOT.Test/Interceptors/GetRowParser.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/GetRowParser.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 2 of 2 possible call-sites using 2 interceptors, 0 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/GetRowParser.output.txt b/test/Dapper.AOT.Test/Interceptors/GetRowParser.output.txt index 934fb73c..39fa3d1a 100644 --- a/test/Dapper.AOT.Test/Interceptors/GetRowParser.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/GetRowParser.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 2 of 2 possible call-sites using 2 interceptors, 0 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/GlobalFetchSize.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/GlobalFetchSize.output.netfx.txt index fc698030..721f00dd 100644 --- a/test/Dapper.AOT.Test/Interceptors/GlobalFetchSize.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/GlobalFetchSize.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 1 of 1 possible call-sites using 1 interceptors, 1 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/GlobalFetchSize.output.txt b/test/Dapper.AOT.Test/Interceptors/GlobalFetchSize.output.txt index fc698030..721f00dd 100644 --- a/test/Dapper.AOT.Test/Interceptors/GlobalFetchSize.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/GlobalFetchSize.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 1 of 1 possible call-sites using 1 interceptors, 1 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/MappedSqlDetection.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/MappedSqlDetection.output.netfx.txt index 1d8debad..b6b45819 100644 --- a/test/Dapper.AOT.Test/Interceptors/MappedSqlDetection.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/MappedSqlDetection.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 7 of 7 possible call-sites using 4 interceptors, 4 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/MappedSqlDetection.output.txt b/test/Dapper.AOT.Test/Interceptors/MappedSqlDetection.output.txt index 1d8debad..b6b45819 100644 --- a/test/Dapper.AOT.Test/Interceptors/MappedSqlDetection.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/MappedSqlDetection.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 7 of 7 possible call-sites using 4 interceptors, 4 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/MiscDiagnostics.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/MiscDiagnostics.output.netfx.txt index 4590e7ff..605ac0b8 100644 --- a/test/Dapper.AOT.Test/Interceptors/MiscDiagnostics.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/MiscDiagnostics.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 9 of 9 possible call-sites using 8 interceptors, 3 commands and 3 readers diff --git a/test/Dapper.AOT.Test/Interceptors/MiscDiagnostics.output.txt b/test/Dapper.AOT.Test/Interceptors/MiscDiagnostics.output.txt index 4590e7ff..605ac0b8 100644 --- a/test/Dapper.AOT.Test/Interceptors/MiscDiagnostics.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/MiscDiagnostics.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 9 of 9 possible call-sites using 8 interceptors, 3 commands and 3 readers diff --git a/test/Dapper.AOT.Test/Interceptors/NonConstant.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/NonConstant.output.netfx.txt index 5cd5ee69..ee44365f 100644 --- a/test/Dapper.AOT.Test/Interceptors/NonConstant.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/NonConstant.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 2 of 2 possible call-sites using 2 interceptors, 1 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/NonConstant.output.txt b/test/Dapper.AOT.Test/Interceptors/NonConstant.output.txt index 5cd5ee69..ee44365f 100644 --- a/test/Dapper.AOT.Test/Interceptors/NonConstant.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/NonConstant.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 2 of 2 possible call-sites using 2 interceptors, 1 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/NonFactoryMethod.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/NonFactoryMethod.output.netfx.txt index c1c50e26..7af36067 100644 --- a/test/Dapper.AOT.Test/Interceptors/NonFactoryMethod.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/NonFactoryMethod.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 2 of 2 possible call-sites using 2 interceptors, 1 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/NonFactoryMethod.output.txt b/test/Dapper.AOT.Test/Interceptors/NonFactoryMethod.output.txt index c1c50e26..7af36067 100644 --- a/test/Dapper.AOT.Test/Interceptors/NonFactoryMethod.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/NonFactoryMethod.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 2 of 2 possible call-sites using 2 interceptors, 1 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/Query.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/Query.output.netfx.txt index efe62f96..11a24dec 100644 --- a/test/Dapper.AOT.Test/Interceptors/Query.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/Query.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 7 of 7 possible call-sites using 7 interceptors, 2 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/Query.output.txt b/test/Dapper.AOT.Test/Interceptors/Query.output.txt index 5116d42d..55f86d5c 100644 --- a/test/Dapper.AOT.Test/Interceptors/Query.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/Query.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 9 of 9 possible call-sites using 9 interceptors, 2 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithConstructor.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithConstructor.output.netfx.txt index a2fdd94f..2203022e 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithConstructor.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithConstructor.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 12 of 12 possible call-sites using 12 interceptors, 0 commands and 12 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithConstructor.output.txt b/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithConstructor.output.txt index a2fdd94f..2203022e 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithConstructor.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithConstructor.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 12 of 12 possible call-sites using 12 interceptors, 0 commands and 12 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithFactoryMethod.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithFactoryMethod.output.netfx.txt index 5acc0d0d..9ae5dfc7 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithFactoryMethod.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithFactoryMethod.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 4 of 4 possible call-sites using 4 interceptors, 0 commands and 4 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithFactoryMethod.output.txt b/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithFactoryMethod.output.txt index 5acc0d0d..9ae5dfc7 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithFactoryMethod.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryCustomConstructionWithFactoryMethod.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 4 of 4 possible call-sites using 4 interceptors, 0 commands and 4 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryDetection.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/QueryDetection.output.netfx.txt index d4f2c6c2..2d9f6fa7 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryDetection.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryDetection.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 11 of 11 possible call-sites using 7 interceptors, 1 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryDetection.output.txt b/test/Dapper.AOT.Test/Interceptors/QueryDetection.output.txt index d4f2c6c2..2d9f6fa7 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryDetection.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryDetection.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 11 of 11 possible call-sites using 7 interceptors, 1 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryNonGeneric.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/QueryNonGeneric.output.netfx.txt index 582d58ad..b31b9a28 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryNonGeneric.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryNonGeneric.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 15 of 15 possible call-sites using 15 interceptors, 2 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryNonGeneric.output.txt b/test/Dapper.AOT.Test/Interceptors/QueryNonGeneric.output.txt index b4ad57d7..9c91a298 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryNonGeneric.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryNonGeneric.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 17 of 17 possible call-sites using 17 interceptors, 2 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryPrimitive.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/QueryPrimitive.output.netfx.txt index e7f088ca..aedeeb4a 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryPrimitive.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryPrimitive.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 18 of 18 possible call-sites using 18 interceptors, 0 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryPrimitive.output.txt b/test/Dapper.AOT.Test/Interceptors/QueryPrimitive.output.txt index e7bf2096..62d0039e 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryPrimitive.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryPrimitive.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 21 of 21 possible call-sites using 21 interceptors, 0 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryUntyped.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/QueryUntyped.output.netfx.txt index 2ae67493..df7e3286 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryUntyped.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryUntyped.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 21 of 21 possible call-sites using 21 interceptors, 2 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/QueryUntyped.output.txt b/test/Dapper.AOT.Test/Interceptors/QueryUntyped.output.txt index 2374058d..7d3c721d 100644 --- a/test/Dapper.AOT.Test/Interceptors/QueryUntyped.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/QueryUntyped.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 25 of 25 possible call-sites using 25 interceptors, 2 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/RowCountHint.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/RowCountHint.output.netfx.txt index e5bd3eb3..d4a5c195 100644 --- a/test/Dapper.AOT.Test/Interceptors/RowCountHint.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/RowCountHint.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 3 of 3 possible call-sites using 3 interceptors, 2 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/RowCountHint.output.txt b/test/Dapper.AOT.Test/Interceptors/RowCountHint.output.txt index e5bd3eb3..d4a5c195 100644 --- a/test/Dapper.AOT.Test/Interceptors/RowCountHint.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/RowCountHint.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 3 of 3 possible call-sites using 3 interceptors, 2 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/Single.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/Single.output.netfx.txt index 5b9a9a96..4264e424 100644 --- a/test/Dapper.AOT.Test/Interceptors/Single.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/Single.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 8 of 8 possible call-sites using 8 interceptors, 2 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/Single.output.txt b/test/Dapper.AOT.Test/Interceptors/Single.output.txt index 5b9a9a96..4264e424 100644 --- a/test/Dapper.AOT.Test/Interceptors/Single.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/Single.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 8 of 8 possible call-sites using 8 interceptors, 2 commands and 1 readers diff --git a/test/Dapper.AOT.Test/Interceptors/SqlDetection.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/SqlDetection.output.netfx.txt index c239c2d3..5ebcf650 100644 --- a/test/Dapper.AOT.Test/Interceptors/SqlDetection.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/SqlDetection.output.netfx.txt @@ -1,6 +1,6 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 7 of 7 possible call-sites using 5 interceptors, 2 commands and 0 readers Output code has 2 diagnostics from 'Dapper.AOT.Analyzers/Dapper.CodeAnalysis.DapperInterceptorGenerator/Test.generated.cs': diff --git a/test/Dapper.AOT.Test/Interceptors/SqlDetection.output.txt b/test/Dapper.AOT.Test/Interceptors/SqlDetection.output.txt index 551d7006..db7ca8ac 100644 --- a/test/Dapper.AOT.Test/Interceptors/SqlDetection.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/SqlDetection.output.txt @@ -1,6 +1,6 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 7 of 7 possible call-sites using 5 interceptors, 2 commands and 0 readers Output code has 1 diagnostics from 'Dapper.AOT.Analyzers/Dapper.CodeAnalysis.DapperInterceptorGenerator/Test.generated.cs': diff --git a/test/Dapper.AOT.Test/Interceptors/SqlParse.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/SqlParse.output.netfx.txt index 0bab64e5..22e5109a 100644 --- a/test/Dapper.AOT.Test/Interceptors/SqlParse.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/SqlParse.output.netfx.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 10 of 10 possible call-sites using 3 interceptors, 2 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/SqlParse.output.txt b/test/Dapper.AOT.Test/Interceptors/SqlParse.output.txt index 0bab64e5..22e5109a 100644 --- a/test/Dapper.AOT.Test/Interceptors/SqlParse.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/SqlParse.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 10 of 10 possible call-sites using 3 interceptors, 2 commands and 0 readers diff --git a/test/Dapper.AOT.Test/Interceptors/TsqlTips.output.netfx.txt b/test/Dapper.AOT.Test/Interceptors/TsqlTips.output.netfx.txt index 2c9a41be..ba97b8b2 100644 --- a/test/Dapper.AOT.Test/Interceptors/TsqlTips.output.netfx.txt +++ b/test/Dapper.AOT.Test/Interceptors/TsqlTips.output.netfx.txt @@ -1,6 +1,6 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 54 of 54 possible call-sites using 10 interceptors, 3 commands and 1 readers Output code has 1 diagnostics from 'Dapper.AOT.Analyzers/Dapper.CodeAnalysis.DapperInterceptorGenerator/Test.generated.cs': diff --git a/test/Dapper.AOT.Test/Interceptors/TsqlTips.output.txt b/test/Dapper.AOT.Test/Interceptors/TsqlTips.output.txt index 34333c4e..2e652be2 100644 --- a/test/Dapper.AOT.Test/Interceptors/TsqlTips.output.txt +++ b/test/Dapper.AOT.Test/Interceptors/TsqlTips.output.txt @@ -1,4 +1,4 @@ Generator produced 1 diagnostics: -Info DAP000 L1 C1 +Hidden DAP000 L1 C1 Dapper.AOT handled 54 of 54 possible call-sites using 10 interceptors, 3 commands and 1 readers