forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logging Source Generator - Adds support to
@
signed prefixed parame…
…ters (dotnet#64663) * Adds support to `@` signed prefixed parameters Fixes dotnet#60968 * Move repetitive logic to a new property * Remove NeedsAtSign
- Loading branch information
1 parent
c765925
commit 73ddf6e
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...tests/Microsoft.Extensions.Logging.Generators.Tests/TestClasses/AtSymbolTestExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
namespace Microsoft.Extensions.Logging.Generators.Tests.TestClasses | ||
{ | ||
internal static partial class AtSymbolTestExtensions | ||
{ | ||
[LoggerMessage(EventId = 0, Level = LogLevel.Information, Message = "M0 {event}")] | ||
internal static partial void M0(ILogger logger, string @event); | ||
} | ||
} |