Skip to content

Commit ca9db0c

Browse files
authored
Add specific versions (#26229)
1 parent bfc86a6 commit ca9db0c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/fundamentals/syslib-diagnostics/syslib1004.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
22
title: SYSLIB1004 error
33
description: Learn about the diagnostic that generates compile-time error SYSLIB1004.
4-
ms.date: 05/07/2021
4+
ms.date: 09/22/2021
55
---
66

77
# SYSLIB1004: Logging class cannot be in a nested type
88

9-
A method annotated with the `LoggerMessageAttribute` is contained in a nested type. This is not currently supported by the logging model.
9+
A method annotated with the `LoggerMessageAttribute` is contained in a nested type. This is not supported by the logging model in Preview 4 and 5 of .NET 6.
10+
11+
> [!NOTE]
12+
> Logger methods in nested classes *are supported* starting in .NET 6 Preview 6.
1013
1114
## Workarounds
1215

0 commit comments

Comments
 (0)