Skip to content

Refactored TexPredefinedFormulaParser to improve readability and ascertaining more invariants #484

Refactored TexPredefinedFormulaParser to improve readability and ascertaining more invariants

Refactored TexPredefinedFormulaParser to improve readability and ascertaining more invariants #484

Triggered via pull request August 7, 2023 23:01
Status Success
Total duration 3m 35s
Artifacts

main.yml

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

Annotations

30 warnings
main.linux: src/XamlMath.Shared/DefaultTexFontParser.cs#L57
Possible null reference assignment.
main.linux: src/XamlMath.Shared/DefaultTexFontParser.cs#L51
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.linux: src/XamlMath.Shared/Colors/PredefinedColorParser.cs#L21
Possible null reference argument for parameter 'stream' in 'XDocument XDocument.Load(Stream stream)'.
main.linux: src/XamlMath.Shared/TexSymbolParser.cs#L42
Possible null reference assignment.
main.linux: src/XamlMath.Shared/TexSymbolParser.cs#L38
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.linux: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L37
Possible null reference assignment.
main.linux: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L33
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.linux: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L93
Possible null reference assignment.
main.linux: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L81
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.linux: src/XamlMath.Shared/GlueSettingsParser.cs#L64
Possible null reference assignment.
main.macos: src/XamlMath.Shared/TexSymbolParser.cs#L42
Possible null reference assignment.
main.macos: src/XamlMath.Shared/TexSymbolParser.cs#L38
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.macos: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L37
Possible null reference assignment.
main.macos: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L33
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.macos: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L93
Possible null reference assignment.
main.macos: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L81
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.macos: src/XamlMath.Shared/DefaultTexFontParser.cs#L57
Possible null reference assignment.
main.macos: src/XamlMath.Shared/DefaultTexFontParser.cs#L51
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.macos: src/XamlMath.Shared/GlueSettingsParser.cs#L64
Possible null reference assignment.
main.macos: src/XamlMath.Shared/GlueSettingsParser.cs#L60
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.windows: src/XamlMath.Shared/TexSymbolParser.cs#L42
Possible null reference assignment.
main.windows: src/XamlMath.Shared/TexSymbolParser.cs#L38
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.windows: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L37
Possible null reference assignment.
main.windows: src/XamlMath.Shared/TexPredefinedFormulaSettingsParser.cs#L33
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.windows: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L93
Possible null reference assignment.
main.windows: src/XamlMath.Shared/TexPredefinedFormulaParser.cs#L81
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.windows: src/XamlMath.Shared/GlueSettingsParser.cs#L64
Possible null reference assignment.
main.windows: src/XamlMath.Shared/GlueSettingsParser.cs#L60
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
main.windows: src/XamlMath.Shared/DefaultTexFontParser.cs#L57
Possible null reference assignment.
main.windows: src/XamlMath.Shared/DefaultTexFontParser.cs#L51
Non-nullable field 'rootElement' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.