diff --git a/src/ThisAssembly.Resources/CSharp.sbntxt b/src/ThisAssembly.Resources/CSharp.sbntxt
index 82b9c55d..961aae6a 100644
--- a/src/ThisAssembly.Resources/CSharp.sbntxt
+++ b/src/ThisAssembly.Resources/CSharp.sbntxt
@@ -16,6 +16,17 @@
/// => @"{{ $0.Path }}"
{{~ end ~}}
///
+ {{~ if Remarks ~}}
+ {{ Remarks }}
+ ///
+ {{~ end ~}}
+ {{~ if Warn ~}}
+ [Obsolete("{{ Warn }}", false
+ #if NET6_0_OR_GREATER
+ , UrlFormat = "{{ Url }}"
+ #endif
+ )]
+ {{~ end ~}}
public static partial class {{ $0.Name }}
{
{{~ if $0.IsText ~}}
@@ -57,16 +68,5 @@ namespace {{ Namespace }};
///
/// Provides access to assembly resources.
///
- {{~ if Remarks ~}}
- {{ Remarks }}
- ///
- {{~ end ~}}
- {{~ if Warn ~}}
- [Obsolete("{{ Warn }}", false
- #if NET6_0_OR_GREATER
- , UrlFormat = "{{ Url }}"
- #endif
- )]
- {{~ end ~}}
{{ render RootArea }}
}