Replaces types with built-in types.

This commit is contained in:
Kamron Batman 2018-09-14 13:22:16 -07:00
parent fee83ce560
commit 22ab83ea9e
98 changed files with 248 additions and 248 deletions

View file

@ -76,14 +76,14 @@ namespace Server.Misc
else
keyString = @"SOFTWARE\{0}";
using( RegistryKey key = Registry.LocalMachine.OpenSubKey( String.Format( keyString, subName ) ) )
using( RegistryKey key = Registry.LocalMachine.OpenSubKey( string.Format( keyString, subName ) ) )
{
if ( key == null )
return null;
string v = key.GetValue( keyName ) as string;
if ( String.IsNullOrEmpty( v ) )
if ( string.IsNullOrEmpty( v ) )
return null;
if ( keyName == "InstallDir" )
@ -91,7 +91,7 @@ namespace Server.Misc
v = Path.GetDirectoryName( v );
if ( String.IsNullOrEmpty( v ) )
if ( string.IsNullOrEmpty( v ) )
return null;
return v;