v5.16.3: Fix PosixWatchdog #864
code-scanning.yml
on: pull_request
Code Scanning
4m 55s
Annotations
10 errors
Code Scanning:
src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs#L153
'IDmbProvider' does not contain a definition for 'Dispose' and no accessible extension method 'Dispose' accepting a first argument of type 'IDmbProvider' could be found (are you missing a using directive or an assembly reference?)
|
Code Scanning:
src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs#L323
'DmbProvider' does not contain a definition for 'Dispose' and no accessible extension method 'Dispose' accepting a first argument of type 'DmbProvider' could be found (are you missing a using directive or an assembly reference?)
|
Code Scanning:
src/Tgstation.Server.Host/Components/Watchdog/BasicWatchdog.cs#L271
'IDmbProvider' does not contain a definition for 'Dispose' and no accessible extension method 'Dispose' accepting a first argument of type 'IDmbProvider' could be found (are you missing a using directive or an assembly reference?)
|
Code Scanning:
src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs#L805
'TemporaryDmbProvider': type used in a using statement must be implicitly convertible to 'System.IDisposable'. Did you mean 'await using' rather than 'using'?
|
Code Scanning:
src/Tgstation.Server.Host/Components/Session/SessionController.cs#L353
'IDmbProvider' does not contain a definition for 'Dispose' and no accessible extension method 'Dispose' accepting a first argument of type 'IDmbProvider' could be found (are you missing a using directive or an assembly reference?)
|
Code Scanning:
src/Tgstation.Server.Host/Components/Session/SessionController.cs#L354
'IDmbProvider' does not contain a definition for 'Dispose' and no accessible extension method 'Dispose' accepting a first argument of type 'IDmbProvider' could be found (are you missing a using directive or an assembly reference?)
|
Code Scanning:
src/Tgstation.Server.Host/Components/Session/SessionController.cs#L559
Cannot implicitly convert type 'Tgstation.Server.Host.Components.Deployment.IDmbProvider' to 'System.IDisposable'. An explicit conversion exists (are you missing a cast?)
|
Code Scanning:
src/Tgstation.Server.Host/Components/Deployment/HardLinkDmbProvider.cs#L148
An opening brace should not be followed by a blank line.
|
Code Scanning:
src/Tgstation.Server.Host/Components/Deployment/DreamMaker.cs#L805
Call System.IDisposable.Dispose on object created by 'new TemporaryDmbProvider(ioManager.ResolvePath(job.DirectoryName.ToString()), String.Concat(job.DmeName, DmbExtension), job)' before all references to it are out of scope
|
Code Scanning:
src/Tgstation.Server.Host/Components/Deployment/DmbFactory.cs#L153
'IDmbProvider' does not contain a definition for 'Dispose' and no accessible extension method 'Dispose' accepting a first argument of type 'IDmbProvider' could be found (are you missing a using directive or an assembly reference?)
|