Skip to content

Commit

Permalink
include file via preprocessor directive
Browse files Browse the repository at this point in the history
  • Loading branch information
DeagleGross committed May 24, 2024
1 parent b261d12 commit 6a664a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Dapper.AOT.Analyzers/InGeneration/DapperHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
/// <summary>
/// Contains helpers to properly handle <see href="https://github.com/DapperLib/Dapper/blob/main/Dapper/DbString.cs"/>
/// </summary>
file static class DbStringHelpers
#if !DAPPERAOT_INTERNAL
file
#endif
static class DbStringHelpers
{
public static void ConfigureDbStringDbParameter(
global::System.Data.Common.DbParameter dbParameter,
Expand Down
3 changes: 3 additions & 0 deletions test/Dapper.AOT.Test/Interceptors/DbString.output.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ namespace Dapper.Aot.Generated
/// <summary>
/// Contains helpers to properly handle <see href="https://github.com/DapperLib/Dapper/blob/main/Dapper/DbString.cs"/>
/// </summary>
#if !DAPPERAOT_INTERNAL
file
#endif
static class DbStringHelpers
{
public static void ConfigureDbStringDbParameter(
Expand Down

0 comments on commit 6a664a2

Please sign in to comment.