Merge branch 'main' into 1.0.0 #27
Annotations
10 errors
|
publish:
Src/CSharpier/Formatters/Xml/XmlFormatter.cs#L56
Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L40
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L41
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L42
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L43
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L44
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L45
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L46
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L40
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
|
publish:
Src/CSharpier/PrinterOptions.cs#L41
The behavior of 'string.EndsWith(string)' could vary based on the current user's locale settings. Replace this call in 'CSharpier.PrinterOptions.GetFormatter(string)' with a call to 'string.EndsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|