Skip to content

Changes to address gallery style issue. #1839

Changes to address gallery style issue.

Changes to address gallery style issue. #1839

Triggered via pull request July 25, 2024 21:13
Status Success
Total duration 7m 51s
Artifacts

CI.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

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)