CLI scaffolding for YAMLValidator #1706
Annotations
10 warnings
build (windows-latest):
samples/MSAppGenerator/ExampleGenerator.cs#L107
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ExampleGenerator.GenerateApp(int, IList<string>)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
build (windows-latest):
samples/pptx2msapp/PptxConverter.cs#L177
Dereference of a possibly null reference.
|
build (windows-latest):
samples/pptx2msapp/PptxConverter.cs#L128
The behavior of 'StringBuilder.Append(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'PptxConverter.ConvertShape(string, TextBody, ShapeProperties, IList<Control>)' with a call to 'StringBuilder.Append(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
build (windows-latest):
samples/pptx2msapp/PptxConverter.cs#L130
The behavior of 'StringBuilder.Append(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'PptxConverter.ConvertShape(string, TextBody, ShapeProperties, IList<Control>)' with a call to 'StringBuilder.Append(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
build (windows-latest):
samples/pptx2msapp/PptxConverter.cs#L13
Type 'PptxConverter' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build (windows-latest):
samples/pptx2msapp/Program.cs#L9
Type 'Program' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build (windows-latest):
samples/MSAppGenerator/ExampleGenerator.cs#L107
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ExampleGenerator.GenerateApp(int, IList<string>)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
build (windows-latest):
samples/MSAppGenerator/ExampleGenerator.cs#L107
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ExampleGenerator.GenerateApp(int, IList<string>)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
build (windows-latest):
samples/pptx2msapp/PptxConverter.cs#L177
Dereference of a possibly null reference.
|
build (windows-latest):
samples/pptx2msapp/PptxConverter.cs#L128
The behavior of 'StringBuilder.Append(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'PptxConverter.ConvertShape(string, TextBody, ShapeProperties, IList<Control>)' with a call to 'StringBuilder.Append(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|