Skip to content

A few methods in TexFormulaParser were modified so that they return the updated positions instead of mutating them #696

A few methods in TexFormulaParser were modified so that they return the updated positions instead of mutating them

A few methods in TexFormulaParser were modified so that they return the updated positions instead of mutating them #696

Triggered via pull request December 2, 2024 09:32
Status Success
Total duration 4m 40s
Artifacts

main.yml

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

Annotations

32 warnings
main.linux
The target framework 'net7.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
main.linux
The target framework 'net7.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
main.linux: src/XamlMath.Shared/TexSymbolParser.cs#L38
Possible null reference assignment.
main.linux: src/XamlMath.Shared/TexSymbolParser.cs#L34
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.linux: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L21
Possible null reference assignment.
main.linux: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L17
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.linux: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L87
Possible null reference assignment.
main.linux: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L75
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.linux: src/XamlMath.Shared/DefaultTexFontParser.cs#L51
Possible null reference assignment.
main.linux: src/XamlMath.Shared/DefaultTexFontParser.cs#L53
Possible null reference argument for parameter 'root' in 'IReadOnlyDictionary<string, IReadOnlyList<CharFont>> DefaultTexFontParser.CreateParseTextStyleMappings(XElement root)'.
main.macos
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
main.macos: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L21
Possible null reference assignment.
main.macos: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L17
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.macos: src/XamlMath.Shared/TexSymbolParser.cs#L38
Possible null reference assignment.
main.macos: src/XamlMath.Shared/TexSymbolParser.cs#L34
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.macos: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L87
Possible null reference assignment.
main.macos: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L75
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.macos: src/XamlMath.Shared/Colors/PredefinedColorParser.cs#L21
Possible null reference argument for parameter 'stream' in 'XDocument XDocument.Load(Stream stream)'.
main.macos: src/XamlMath.Shared/GlueSettingsParser.cs#L60
Possible null reference argument for parameter 'root' in 'IReadOnlyList<Glue> GlueSettingsParser.ParseGlueTypes(XElement root)'.
main.macos: src/XamlMath.Shared/DefaultTexFontParser.cs#L51
Possible null reference assignment.
main.macos: src/XamlMath.Shared/DefaultTexFontParser.cs#L53
Possible null reference argument for parameter 'root' in 'IReadOnlyDictionary<string, IReadOnlyList<CharFont>> DefaultTexFontParser.CreateParseTextStyleMappings(XElement root)'.
main.windows
The target framework 'net7.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
main.windows
The target framework 'net7.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
main.windows: src/XamlMath.Shared/TexSymbolParser.cs#L38
Possible null reference assignment.
main.windows: src/XamlMath.Shared/TexSymbolParser.cs#L34
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.windows: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L21
Possible null reference assignment.
main.windows: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L17
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.windows: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L87
Possible null reference assignment.
main.windows: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L75
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
main.windows: src/XamlMath.Shared/Colors/PredefinedColorParser.cs#L21
Possible null reference argument for parameter 'stream' in 'XDocument XDocument.Load(Stream stream)'.
main.windows: src/XamlMath.Shared/DefaultTexFontParser.cs#L51
Possible null reference assignment.
main.windows
The target framework 'net7.0-windows' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.