Skip to content

Extended IBioPolymerWithSetMods interface, changed hashcodes #1096

Extended IBioPolymerWithSetMods interface, changed hashcodes

Extended IBioPolymerWithSetMods interface, changed hashcodes #1096

Triggered via pull request December 2, 2024 17:47
Status Failure
Total duration 4m 24s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
build
Process completed with exit code 1.
build: mzLib/MassSpectrometry/MzSpectra/MzSpectrum.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: mzLib/MassSpectrometry/MzSpectra/MzSpectrum.cs#L772
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: mzLib/MassSpectrometry/MzSpectra/SpectralSimilarity.cs#L54
Field 'SpectralSimilarity._keepAllTheoreticalPeaks' is never assigned to, and will always have its default value false
build: mzLib/Omics/Fragmentation/MatchedFragmentIon.cs#L80
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build: mzLib/Omics/IBioPolymer.cs#L31
Cannot convert null literal to non-nullable reference type.
build: mzLib/Omics/IBioPolymerWithSetMods.cs#L167
'IBioPolymerWithSetMods.Equals(IBioPolymerWithSetMods)' hides inherited member 'IEquatable<IBioPolymerWithSetMods>.Equals(IBioPolymerWithSetMods?)'. Use the new keyword if hiding was intended.
build: mzLib/Omics/Modifications/Modification.cs#L132
Nullability of type of parameter 'o' doesn't match overridden member (possibly because of nullability attributes).
build: mzLib/Omics/Fragmentation/Product.cs#L87
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build: mzLib/Omics/Modifications/Modification.cs#L62
Cannot convert null literal to non-nullable reference type.
build: mzLib/Omics/Modifications/Modification.cs#L62
Cannot convert null literal to non-nullable reference type.
build: mzLib/MassSpectrometry/MzSpectra/MzSpectrum.cs#L765
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: mzLib/MassSpectrometry/MzSpectra/MzSpectrum.cs#L772
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: mzLib/MassSpectrometry/MzSpectra/SpectralSimilarity.cs#L54
Field 'SpectralSimilarity._keepAllTheoreticalPeaks' is never assigned to, and will always have its default value false
build: mzLib/Omics/Fragmentation/MatchedFragmentIon.cs#L80
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build: mzLib/Omics/IBioPolymer.cs#L31
Cannot convert null literal to non-nullable reference type.
build: mzLib/Omics/IBioPolymerWithSetMods.cs#L167
'IBioPolymerWithSetMods.Equals(IBioPolymerWithSetMods)' hides inherited member 'IEquatable<IBioPolymerWithSetMods>.Equals(IBioPolymerWithSetMods?)'. Use the new keyword if hiding was intended.
build: mzLib/Omics/Fragmentation/Product.cs#L87
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
build: mzLib/Omics/Modifications/Modification.cs#L132
Nullability of type of parameter 'o' doesn't match overridden member (possibly because of nullability attributes).
build: mzLib/Omics/Modifications/Modification.cs#L62
Cannot convert null literal to non-nullable reference type.
build: mzLib/Omics/Modifications/Modification.cs#L62
Cannot convert null literal to non-nullable reference type.