mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
ReSharper format: conform inline 'out' parameters.
This commit is contained in:
@@ -68,9 +68,8 @@ namespace Emby.Server.Implementations.Security
|
||||
public void RemoveRegCheck(string featureId)
|
||||
{
|
||||
var key = GetKey(featureId);
|
||||
FeatureRegInfo val;
|
||||
|
||||
_updateRecords.TryRemove(key, out val);
|
||||
_updateRecords.TryRemove(key, out var val);
|
||||
|
||||
Save();
|
||||
}
|
||||
@@ -135,13 +134,11 @@ namespace Emby.Server.Implementations.Security
|
||||
continue;
|
||||
}
|
||||
|
||||
Guid feat;
|
||||
if (Guid.TryParse(line, out feat))
|
||||
if (Guid.TryParse(line, out var feat))
|
||||
{
|
||||
var lineParts = contents[i + 1].Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
long ticks;
|
||||
if (long.TryParse(lineParts[0], out ticks))
|
||||
if (long.TryParse(lineParts[0], out var ticks))
|
||||
{
|
||||
var info = new FeatureRegInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user