Bump System.IO.Hashing from 9.0.5 to 9.0.8 #296
Closed
Annotations
10 errors and 1 notice
.NET Build:
Source/SimpleTextTemplate.Writer/TemplateWriter.T.cs#L218
In externally visible method 'void TemplateWriter<T>.DangerousWriteString(string value)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
.NET Build:
Tests/SimpleTextTemplate.Generator.Execute.Tests/AccessibilityTestData.cs#L8
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
.NET Build:
Tests/SimpleTextTemplate.Generator.Tests/TemplateRendererRenderTest.cs#L225
'string.Replace(string, string?)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'SimpleTextTemplate.Generator.Tests.TemplateRendererRenderTest.複雑なテンプレート文字列()' with a call to 'string.Replace(string, string?, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
|
.NET Build:
Source/SimpleTextTemplate.Generator.Internal/Buffers/SourceCodeWriter.cs#L139
'SourceCodeWriterBlock' contains field '_writer' that is of IDisposable type 'SourceCodeWriter', but it is never disposed. Change the Dispose method on 'SourceCodeWriterBlock' to call Close or Dispose on this field. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213)
|
.NET Build:
Source/SimpleTextTemplate/Template.cs#L156
In externally visible method 'void Template.Render<TWriter>(TWriter bufferWriter, Dictionary<byte[], object> context, IFormatProvider? provider = null)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
.NET Build:
Source/SimpleTextTemplate/Utf8StringEqualityComparer.cs#L24
In externally visible method 'bool Utf8StringEqualityComparer.Equals(byte[]? x, byte[]? y)', validate parameter 'x' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
.NET Build:
Source/SimpleTextTemplate/Utf8StringEqualityComparer.cs#L25
In externally visible method 'bool Utf8StringEqualityComparer.Equals(byte[]? x, byte[]? y)', validate parameter 'y' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
.NET Build:
Source/SimpleTextTemplate.Writer/TemplateWriter.T.cs#L227
In externally visible method 'void TemplateWriter<T>.DangerousWriteString(char[] value)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
.NET Build:
Source/SimpleTextTemplate.Writer/TemplateWriter.T.cs#L181
In externally visible method 'void TemplateWriter<T>.DangerousWriteLiteral(byte[] value)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
.NET Build:
Source/SimpleTextTemplate.Writer/TemplateWriter.T.cs#L218
In externally visible method 'void TemplateWriter<T>.DangerousWriteString(string value)', validate parameter 'value' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Loading