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()
137
137
internal static SecurityZone GetFileSecurityZone ( string filePath )
138
138
{
139
139
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." ) ;
141
141
string sysRoot = System . Environment . GetEnvironmentVariable ( "SystemRoot" ) ;
142
142
string urlmonPath = Path . Combine ( sysRoot , @"System32\urlmon.dll" ) ;
143
- if ( Utils . FileExists ( urlmonPath ) )
143
+ if ( File . Exists ( urlmonPath ) )
144
144
{
145
145
return MapSecurityZoneWithUrlmon ( filePath ) ;
146
146
}
You can’t perform that action at this time.
0 commit comments