Skip to content

Commit 8b7d8f7

Browse files
committed
feat: prepare SourceCodeTransformation project for v12.0 release
Signed-off-by: Kenny Pflug <[email protected]>
1 parent 42c9ff4 commit 8b7d8f7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Code/Light.GuardClauses.Source/Light.GuardClauses.Source.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5-
<LangVersion>10.0</LangVersion>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<LangVersion>12.0</LangVersion>
66
<Authors>Kenny Pflug</Authors>
77
<Company>Kenny Pflug</Company>
88
<Copyright>Copyright © Kenny Pflug 2016 - 2023</Copyright>

Code/Light.GuardClauses.SourceCodeTransformation/SourceFileMerger.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static void CreateSingleSourceFile(SourceFileMergeOptions options)
3434
.AppendLine($@"License information for Light.GuardClauses
3535
3636
The MIT License (MIT)
37-
Copyright (c) 2016, 2023 Kenny Pflug mailto:[email protected]
37+
Copyright (c) 2016, 2024 Kenny Pflug mailto:[email protected]
3838
3939
Permission is hereby granted, free of charge, to any person obtaining a copy
4040
of this software and associated documentation files (the ""Software""), to deal
@@ -69,6 +69,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6969
using System.Text.RegularExpressions;
7070
{(options.IncludeJetBrainsAnnotationsUsing ? "using JetBrains.Annotations;" + Environment.NewLine : string.Empty)}using {options.BaseNamespace}.Exceptions;
7171
using {options.BaseNamespace}.FrameworkExtensions;
72+
{(options.IncludeJetBrainsAnnotationsUsing ? "using NotNullAttribute = System.Diagnostics.CodeAnalysis.NotNullAttribute;" : "")}
7273
7374
#nullable enable annotations
7475

0 commit comments

Comments
 (0)