File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/System.Management.Automation/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,10 @@ private static void EncodingRegisterProvider()
137137 internal static SecurityZone GetFileSecurityZone ( string filePath )
138138 {
139139 Diagnostics . Assert ( Path . IsPathRooted ( filePath ) , "Caller makes sure the path is rooted." ) ;
140- Diagnostics . Assert ( Utils . FileExists ( filePath ) , "Caller makes sure the file exists." ) ;
140+ Diagnostics . Assert ( File . Exists ( filePath ) , "Caller makes sure the file exists." ) ;
141141 string sysRoot = System . Environment . GetEnvironmentVariable ( "SystemRoot" ) ;
142142 string urlmonPath = Path . Combine ( sysRoot , @"System32\urlmon.dll" ) ;
143- if ( Utils . FileExists ( urlmonPath ) )
143+ if ( File . Exists ( urlmonPath ) )
144144 {
145145 return MapSecurityZoneWithUrlmon ( filePath ) ;
146146 }
You can’t perform that action at this time.
0 commit comments