File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Tests/Schema.NET.Test/core
Tools/Schema.NET.Tool/ViewModels Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2020 </PropertyGroup >
2121
2222 <ItemGroup Label =" Package References" >
23- <PackageReference Include =" Microsoft.CodeAnalysis.FxCopAnalyzers" PrivateAssets =" All" Version =" 3.0 .0" />
23+ <PackageReference Include =" Microsoft.CodeAnalysis.FxCopAnalyzers" PrivateAssets =" All" Version =" 3.3 .0" />
2424 <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets =" All" Version =" 1.0.0" />
2525 <PackageReference Include =" Microsoft.VisualStudio.Threading.Analyzers" PrivateAssets =" All" Version =" 16.7.54" />
2626 <PackageReference Include =" MinVer" PrivateAssets =" All" Version =" 2.3.0" />
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ private static void AppendSpace(StringBuilder stringBuilder)
5959 {
6060 if ( stringBuilder . Length > 0 )
6161 {
62- stringBuilder . Append ( " " ) ;
62+ stringBuilder . Append ( ' ' ) ;
6363 }
6464 }
6565 }
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ namespace Schema.NET.Test
88 // https://developers.google.com/search/docs/data-types/events
99 public class EventTest
1010 {
11- private static readonly string NullString = null ;
12- private static readonly ItemAvailability ? NullItemAvailability = null ;
11+ #pragma warning disable CS0649 // Field is never assigned to and will always have its default value.
12+ private static readonly string NullString ;
13+ private static readonly ItemAvailability ? NullItemAvailability ;
14+ #pragma warning restore CS0649 // Field is never assigned to and will always have its default value.
1315
1416 private readonly Event @event = new Event ( )
1517 {
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public override string ToString()
5858 stringBuilder . AppendCommentSummary ( 8 , value . Description ) ;
5959 stringBuilder . AppendIndentLine ( 8 , $ "[EnumMember(Value = \" { httpsValueUri } \" )]") ;
6060 stringBuilder . AppendIndent ( 8 , value . Name ) ;
61- stringBuilder . Append ( "," ) ;
61+ stringBuilder . Append ( ',' ) ;
6262 if ( ! isLast )
6363 {
6464 stringBuilder . AppendLine ( ) ;
You can’t perform that action at this time.
0 commit comments