Refactor Query.cs for readability and resource management #28
Annotations
1 error and 10 warnings
Code Coverage Summary Report
Container action is only supported on Linux
|
Build Release:
RdlMapFile/DesignXmlDraw.cs#L1732
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
Build Release:
RdlMapFile/RdlMapFile.cs#L53
Call System.IDisposable.Dispose on object created by 'new MapFile(file)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build Release:
RdlMapFile/DesignXmlDraw.cs#L816
Call System.IDisposable.Dispose on object created by 'new ContextMenuStrip()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build Release:
RdlMapFile/DesignXmlDraw.cs#L1179
Call System.IDisposable.Dispose on object created by 'new Font("Arial", 12)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build Release:
RdlMapFile/DesignXmlDraw.cs#L1219
Call System.IDisposable.Dispose on object created by 'new Font("Arial", 12)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build Release:
RdlMapFile/DesignXmlDraw.cs#L1320
Call System.IDisposable.Dispose on object created by 'new Font("Arial", 12)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build Release:
RdlMapFile/DesignXmlDraw.cs#L1362
Call System.IDisposable.Dispose on object created by 'new Font("Arial", 12)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build Release:
RdlMapFile/DesignXmlDraw.cs#L1455
Call System.IDisposable.Dispose on object created by 'new Font("Arial", 12)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build Release:
RdlMapFile/DesignXmlDraw.cs#L1662
Call System.IDisposable.Dispose on object created by 'new GraphicsPath()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build Release:
RdlMapFile/ShapeFile.cs#L762
Call System.IDisposable.Dispose on object created by 'new OleDbDataAdapter()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Loading