-
Notifications
You must be signed in to change notification settings - Fork 4
/
GlobalSuppressions.cs
48 lines (46 loc) · 12.5 KB
/
GlobalSuppressions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("CodeQuality", "IDE0051:Remove unused private members", Justification = "Keep for reference", Scope = "member", Target = "~M:MASIC.DataOutput.BPIWriter.SaveICRToolsChromatogramByScan(MASIC.Options.MASICOptions,System.Collections.Generic.IList{MASIC.Data.ScanInfo},System.Int32,System.String,System.Boolean,System.Boolean,System.String)")]
[assembly: SuppressMessage("CodeQuality", "IDE0051:Remove unused private members", Justification = "Keep for reference", Scope = "member", Target = "~M:MASIC.DataOutput.SICStatsWriter.PopulateScanListPointerArray(System.Collections.Generic.IList{MASIC.Data.ScanInfo},System.Int32,System.Int32[]@)")]
[assembly: SuppressMessage("CodeQuality", "IDE0051:Remove unused private members", Justification = "Keep for reference", Scope = "member", Target = "~M:MASIC.Plots.PlotContainer.PointSizeToEm(System.Int32)~System.Double")]
[assembly: SuppressMessage("CodeQuality", "IDE0051:Remove unused private members", Justification = "Keep for reference", Scope = "member", Target = "~M:MASIC.Plots.PlotContainer.PointSizeToPixels(System.Int32)~System.Int32")]
[assembly: SuppressMessage("Design", "RCS1075:Avoid empty catch clause that catches System.Exception.", Justification = "This design pattern is used to silently handle several types of non-fatal errors", Scope = "module")]
[assembly: SuppressMessage("General", "RCS1118:Mark local variable as const.", Justification = "Entirely unnecessary", Scope = "member", Target = "~M:MASIC.DataInput.Centroider.EstimateResolution(System.Double,System.Double,System.Boolean)~System.Double")]
[assembly: SuppressMessage("Performance", "RCS1197:Optimize StringBuilder.Append/AppendLine call.", Justification = "Unnecessary optimization", Scope = "module")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses are correct", Scope = "member", Target = "~M:MASIC.DataInput.DataImportMSXml.ExtractFragmentationScan(MASIC.Data.ScanList,MASIC.SpectraCache,MASIC.DataOutput.DataOutput,MSDataFileReader.SpectrumInfo,MASIC.Data.MSSpectrum,MASIC.Options.SICOptions,MSDataFileReader.SpectrumInfoMzXML,PSI_Interface.MSData.SimpleMzMLReader.SimpleSpectrum)")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Correlation.BetaCF(System.Double,System.Double,System.Double)~System.Double")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Correlation.BetaI(System.Double,System.Double,System.Double)~System.Double")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Correlation.BinData(System.Collections.Generic.List{System.Single},System.Collections.Generic.List{System.Single},System.Collections.Generic.List{System.Single},System.Collections.Generic.List{System.Single})~System.Boolean")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Correlation.CorrelateKendall(System.Collections.Generic.IReadOnlyList{System.Single},System.Collections.Generic.IReadOnlyList{System.Single},System.Single@,System.Single@,System.Single@)")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Correlation.CorrelatePearson(System.Collections.Generic.IReadOnlyList{System.Single},System.Collections.Generic.IReadOnlyList{System.Single},System.Single@,System.Single@,System.Single@)")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Correlation.CorrelateSpearman(System.Collections.Generic.IReadOnlyCollection{System.Single},System.Collections.Generic.IReadOnlyCollection{System.Single},System.Single@,System.Single@,System.Single@,System.Single@,System.Single@)")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Correlation.CRank(System.Int32,System.Collections.Generic.IList{System.Single},System.Single@)")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Correlation.ErfCC(System.Double)~System.Double")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Data.ReporterIons.UpdateMZIntensityFilterIgnoreRange")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.DataInput.DataImportMGFandCDF.ExtractScanInfoFromMGFandCDF(System.String,MASIC.Data.ScanList,MASIC.SpectraCache,MASIC.DataOutput.DataOutput,System.Boolean,System.Boolean)~System.Boolean")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.DataInput.DataImportMGFandCDF.InterpolateRTandFragScanNumber(System.Collections.Generic.IList{MASIC.Data.ScanInfo},System.Int32,System.Int32,System.Int32@)~System.Single")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.DataInput.DataImportMSXml.ExtractScanInfoCheckRange(MASIC.Data.MSSpectrum,MSDataFileReader.SpectrumInfo,PSI_Interface.MSData.SimpleMzMLReader.SimpleSpectrum,MASIC.Data.ScanList,MASIC.SpectraCache,MASIC.DataOutput.DataOutput,System.Double,System.Int32)~System.Boolean")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.DataInput.DataImportThermoRaw.ExtractScanInfoCheckRange(ThermoRawFileReader.XRawFileIO,ThermoRawFileReader.clsScanInfo,MASIC.Data.ScanList,MASIC.SpectraCache,MASIC.DataOutput.DataOutput,System.Double)~System.Boolean")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.FilterDataArrayMaxCount.FilterDataByMaxDataCountToKeep")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.ITraqIntensityCorrection.DefineIsotopeContribution(System.Single,System.Single,System.Single,System.Single,System.Single)~MASIC.ITraqIntensityCorrection.IsotopeContributionType")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.MRMProcessing.ExportMRMDataToDisk(MASIC.Data.ScanList,MASIC.SpectraCache,System.Collections.Generic.IReadOnlyList{MASIC.Data.MRMScanInfo},System.Collections.Generic.IReadOnlyList{MASIC.MRMProcessing.SRMListType},System.String,System.String)~System.Boolean")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.ParentIonProcessing.AppendParentIonToUniqueMZEntry(MASIC.Data.ScanList,System.Int32,MASIC.Data.UniqueMZListItem,System.Double)")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Plots.AxisInfo.SetRange(System.Double,System.Double)")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.ScanNumScanTimeConversion.ScanOrAcqTimeToAbsolute(MASIC.Data.ScanList,System.Single,MASIC.Data.CustomSICList.CustomSICScanTypeConstants,System.Boolean)~System.Int32")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.ScanNumScanTimeConversion.ScanOrAcqTimeToScanTime(MASIC.Data.ScanList,System.Single,MASIC.Data.CustomSICList.CustomSICScanTypeConstants,System.Boolean)~System.Single")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.SICProcessing.ComputeMzSearchChunkProgress(System.Int32,System.Int32,System.Int32,System.Int32,System.Double)~System.Int16")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.SICProcessing.ExtractSICDetailsFromFullSIC(System.Int32,System.Collections.Generic.List{MASICPeakFinder.BaselineNoiseStatsSegment},System.Int32,System.Int32[,],System.Double[,],System.Double[,],MASIC.Data.ScanList,System.Int32,MASIC.Data.SICDetails,MASIC.Options.MASICOptions,MASIC.ScanNumScanTimeConversion,System.Boolean,System.Single)~MASICPeakFinder.SICStatsPeak")]
[assembly: SuppressMessage("Readability", "RCS1123:Add parentheses when necessary.", Justification = "Parentheses not needed", Scope = "member", Target = "~M:MASIC.Utilities.ConvoluteMass(System.Double,System.Int16,System.Int16,System.Double)~System.Double")]
[assembly: SuppressMessage("Redundancy", "RCS1213:Remove unused member declaration.", Justification = "Keep for reference", Scope = "member", Target = "~M:MASIC.Plots.PlotContainer.PointSizeToEm(System.Int32)~System.Double")]
[assembly: SuppressMessage("Redundancy", "RCS1213:Remove unused member declaration.", Justification = "Keep for reference", Scope = "member", Target = "~M:MASIC.Plots.PlotContainer.PointSizeToPixels(System.Int32)~System.Int32")]
[assembly: SuppressMessage("Style", "IDE0059:Unnecessary assignment of a value", Justification = "Keep for debugging purposes", Scope = "member", Target = "~M:MASIC.SICProcessing.ProcessMzSearchChunk(MASIC.Options.MASICOptions,MASIC.Data.ScanList,MASIC.DataAggregation,MASIC.DataOutput.DataOutput,MASIC.DataOutput.XMLResultsWriter,MASIC.SpectraCache,MASIC.ScanNumScanTimeConversion,System.Collections.Generic.IReadOnlyList{MASIC.Data.MzSearchInfo},System.Double,System.Collections.Generic.IList{System.Int32},System.Boolean,System.Int32,System.Collections.Generic.IList{System.Boolean},System.Int32@)~System.Boolean")]
[assembly: SuppressMessage("Style", "IDE0060:Remove unused parameter", Justification = "Keep parameter", Scope = "member", Target = "~M:MASIC.ParentIonProcessing.CompareFragSpectraForParentIons(MASIC.Data.ScanList,MASIC.SpectraCache,System.Int32,System.Int32,MASIC.Options.BinningOptions,MASICPeakFinder.BaselineNoiseOptions,MASIC.DataInput.DataImport)~System.Single")]
[assembly: SuppressMessage("Style", "IDE0063:Use simple 'using' statement", Justification = "Leave as-is to force the writer to close", Scope = "member", Target = "~M:MASIC.Plots.PlotContainer.SaveToFile(System.IO.FileInfo,MASIC.Plots.PlotContainer.ImageFileFormat,System.Int32,System.Int32,System.Int32)~System.Boolean")]
[assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression", Justification = "Use switch statement for readability", Scope = "member", Target = "~M:MASIC.Data.ReporterIons.GetDefaultReporterIons(MASIC.Data.ReporterIons.ReporterIonMassModeConstants)~System.Collections.Generic.SortedList{System.Int32,MASIC.Data.ReporterIonInfo}")]
[assembly: SuppressMessage("Style", "IDE0290:Use primary constructor", Justification = "Leave as-is", Scope = "member", Target = "~M:MASIC.DatabaseAccess.#ctor(MASIC.Options.MASICOptions)")]
[assembly: SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "Allowed legacy name", Scope = "type", Target = "~T:MASIC.clsMASIC")]
[assembly: SuppressMessage("Usage", "RCS1146:Use conditional access.", Justification = "Leave for readability", Scope = "member", Target = "~M:MASIC.Plots.AxisInfo.GetOptions(System.Collections.Generic.List{System.String})~System.String")]
[assembly: SuppressMessage("Usage", "RCS1246:Use element access.", Justification = "Prefer to use .First() instead of [0]", Scope = "module")]