Replace GetDirectoryNameOfFileAbove with GetPathOfFileAbove where possible (#1175)
authorJan Kotas <jkotas@microsoft.com>
Fri, 27 Dec 2019 08:31:18 +0000 (00:31 -0800)
committerGitHub <noreply@github.com>
Fri, 27 Dec 2019 08:31:18 +0000 (00:31 -0800)
commit0647ec314948904319da5eb15e9931f7c85ed1e2
treece0c0b7fcbb691cdfac0c36957cd235de149f23e
parent8d4e6f99113fcf769e50a17f90e9722de6d9d630
Replace GetDirectoryNameOfFileAbove with GetPathOfFileAbove where possible (#1175)
143 files changed:
src/coreclr/tests/scripts/scripts.csproj
src/coreclr/tests/src/GC/Stress/Tests/Directory.Build.targets
src/coreclr/tests/src/Interop/COM/Activator/Activator.csproj
src/coreclr/tests/src/Interop/COM/Activator/Servers/AssemblyA.csproj
src/coreclr/tests/src/Interop/COM/Activator/Servers/AssemblyB.csproj
src/coreclr/tests/src/Interop/COM/Activator/Servers/AssemblyC.csproj
src/coreclr/tests/src/Interop/COM/Activator/Servers/AssemblyContracts.csproj
src/coreclr/tests/src/Interop/COM/NETServer/NETServer.csproj
src/coreclr/tests/src/Interop/COM/NativeClients/DefaultInterfaces.csproj
src/coreclr/tests/src/Interop/COM/NativeClients/Dispatch.csproj
src/coreclr/tests/src/Interop/COM/NativeClients/Licensing.csproj
src/coreclr/tests/src/Interop/COM/NativeClients/Primitives.csproj
src/coreclr/tests/src/Interop/ExecInDefAppDom/ExecInDefAppDom.csproj
src/coreclr/tests/src/Interop/ICustomMarshaler/ConflictingNames/CustomMarshaler.csproj
src/coreclr/tests/src/Interop/ICustomMarshaler/ConflictingNames/CustomMarshaler2.csproj
src/coreclr/tests/src/Interop/IJW/CopyConstructorMarshaler/CopyConstructorMarshaler.csproj
src/coreclr/tests/src/Interop/IJW/FixupCallsHostWhenLoaded/FixupCallsHostWhenLoaded.csproj
src/coreclr/tests/src/Interop/IJW/LoadIjwFromModuleHandle/LoadIjwFromModuleHandle.csproj
src/coreclr/tests/src/Interop/IJW/ManagedCallingNative/ManagedCallingNative.csproj
src/coreclr/tests/src/Interop/IJW/NativeCallingManaged/NativeCallingManaged.csproj
src/coreclr/tests/src/Interop/IJW/NativeVarargs/NativeVarargsTest.csproj
src/coreclr/tests/src/Interop/NativeCallable/NativeCallableTest.csproj
src/coreclr/tests/src/Interop/PInvoke/Attributes/LCID/LCIDTest.csproj
src/coreclr/tests/src/Interop/PInvoke/Attributes/SuppressGCTransition/SuppressGCTransitionTest.csproj
src/coreclr/tests/src/Interop/PInvoke/CustomMarshalers/CustomMarshalersTest.csproj
src/coreclr/tests/src/Interop/PInvoke/Decimal/DecimalTest.csproj
src/coreclr/tests/src/Interop/PInvoke/Primitives/Pointer/PInvokePointerTest.csproj
src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/Invalid/InvalidParamIndex.csproj
src/coreclr/tests/src/Interop/ReadMe.md
src/coreclr/tests/src/JIT/Directory.Build.props
src/coreclr/tests/src/JIT/HardwareIntrinsics/Directory.Build.props
src/coreclr/tests/src/JIT/SIMD/Directory.Build.props
src/coreclr/tests/src/baseservices/typeequivalence/contracts/TypeContracts.csproj
src/coreclr/tests/src/baseservices/typeequivalence/impl/TypeImpl.csproj
src/coreclr/tests/src/baseservices/typeequivalence/simple/Simple.csproj
src/coreclr/tests/src/performance/Scenario/JitBench/JitBench.csproj
src/coreclr/tests/src/performance/Scenario/JitBench/unofficial_dotnet/JitBench.csproj
src/coreclr/tests/src/sizeondisk/Directory.Build.props
src/installer/managed/Microsoft.DotNet.PlatformAbstractions/Microsoft.DotNet.PlatformAbstractions.csproj
src/installer/managed/Microsoft.Extensions.DependencyModel/Microsoft.Extensions.DependencyModel.csproj
src/installer/managed/Microsoft.NET.HostModel/Microsoft.NET.HostModel.csproj
src/installer/pkg/Directory.Build.props
src/installer/pkg/Directory.Build.targets
src/installer/pkg/packaging/Directory.Build.props
src/installer/pkg/packaging/installers.proj
src/installer/pkg/projects/Directory.Build.props
src/installer/pkg/projects/Directory.Build.targets
src/installer/pkg/projects/netcoreapp/Directory.Build.props
src/installer/pkg/projects/netcoreapp/pkg/Directory.Build.props
src/installer/pkg/projects/netcoreapp/pkg/legacy/Directory.Build.props
src/installer/pkg/projects/netstandard/Directory.Build.props
src/installer/pkg/projects/netstandard/pkg/Directory.Build.props
src/installer/signing/Directory.Build.props
src/installer/signing/Directory.Build.targets
src/installer/test/Assets/TestProjects/StandaloneApp20/Directory.Build.props
src/installer/test/Assets/TestProjects/StandaloneApp21/Directory.Build.props
src/installer/test/Directory.Build.props
src/installer/test/Directory.Build.targets
src/libraries/Microsoft.CSharp/pkg/Microsoft.CSharp.pkgproj
src/libraries/Microsoft.Diagnostics.Tracing.EventSource.Redist/pkg/Microsoft.Diagnostics.Tracing.EventSource.Redist.pkgproj
src/libraries/Microsoft.IO.Redist/pkg/Microsoft.IO.Redist.pkgproj
src/libraries/Microsoft.Win32.Registry.AccessControl/pkg/Microsoft.Win32.Registry.AccessControl.pkgproj
src/libraries/Microsoft.Win32.Registry/pkg/Microsoft.Win32.Registry.pkgproj
src/libraries/Microsoft.Win32.SystemEvents/pkg/Microsoft.Win32.SystemEvents.pkgproj
src/libraries/Microsoft.XmlSerializer.Generator/pkg/Microsoft.XmlSerializer.Generator.pkgproj
src/libraries/Native/native-binplace.proj
src/libraries/Native/pkg/runtime.native.System.Data.SqlClient.sni/runtime.native.System.Data.SqlClient.sni.pkgproj
src/libraries/System.CodeDom/pkg/System.CodeDom.pkgproj
src/libraries/System.Collections.Immutable/pkg/System.Collections.Immutable.pkgproj
src/libraries/System.ComponentModel.Annotations/pkg/System.ComponentModel.Annotations.pkgproj
src/libraries/System.ComponentModel.Composition.Registration/pkg/System.ComponentModel.Composition.Registration.pkgproj
src/libraries/System.ComponentModel.Composition/pkg/System.ComponentModel.Composition.pkgproj
src/libraries/System.Composition.AttributedModel/pkg/System.Composition.AttributedModel.pkgproj
src/libraries/System.Composition.Convention/pkg/System.Composition.Convention.pkgproj
src/libraries/System.Composition.Hosting/pkg/System.Composition.Hosting.pkgproj
src/libraries/System.Composition.Runtime/pkg/System.Composition.Runtime.pkgproj
src/libraries/System.Composition.TypedParts/pkg/System.Composition.TypedParts.pkgproj
src/libraries/System.Composition/pkg/System.Composition.pkgproj
src/libraries/System.Configuration.ConfigurationManager/pkg/System.Configuration.ConfigurationManager.pkgproj
src/libraries/System.Data.Odbc/pkg/System.Data.Odbc.pkgproj
src/libraries/System.Data.OleDb/pkg/System.Data.OleDb.pkgproj
src/libraries/System.Data.SqlClient/pkg/System.Data.SqlClient.pkgproj
src/libraries/System.Diagnostics.DiagnosticSource/pkg/System.Diagnostics.DiagnosticSource.pkgproj
src/libraries/System.Diagnostics.EventLog/pkg/System.Diagnostics.EventLog.pkgproj
src/libraries/System.Diagnostics.FileVersionInfo/tests/NativeConsoleApp/NativeConsoleApp.vcxproj
src/libraries/System.Diagnostics.FileVersionInfo/tests/NativeLibrary/NativeLibrary.vcxproj
src/libraries/System.Diagnostics.FileVersionInfo/tests/SecondNativeLibrary/SecondNativeLibrary.vcxproj
src/libraries/System.Diagnostics.PerformanceCounter/pkg/System.Diagnostics.PerformanceCounter.pkgproj
src/libraries/System.DirectoryServices.AccountManagement/pkg/System.DirectoryServices.AccountManagement.pkgproj
src/libraries/System.DirectoryServices.Protocols/pkg/System.DirectoryServices.Protocols.pkgproj
src/libraries/System.DirectoryServices/pkg/System.DirectoryServices.pkgproj
src/libraries/System.Drawing.Common/pkg/System.Drawing.Common.pkgproj
src/libraries/System.IO.FileSystem.AccessControl/pkg/System.IO.FileSystem.AccessControl.pkgproj
src/libraries/System.IO.Packaging/pkg/System.IO.Packaging.pkgproj
src/libraries/System.IO.Pipelines/pkg/System.IO.Pipelines.pkgproj
src/libraries/System.IO.Ports/pkg/System.IO.Ports.pkgproj
src/libraries/System.Json/pkg/System.Json.pkgproj
src/libraries/System.Management/pkg/System.Management.pkgproj
src/libraries/System.Net.Http.WinHttpHandler/pkg/System.Net.Http.WinHttpHandler.pkgproj
src/libraries/System.Net.WebSockets.WebSocketProtocol/pkg/System.Net.WebSockets.WebSocketProtocol.pkgproj
src/libraries/System.Numerics.Tensors/pkg/System.Numerics.Tensors.pkgproj
src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj
src/libraries/System.Reflection.DispatchProxy/pkg/System.Reflection.DispatchProxy.pkgproj
src/libraries/System.Reflection.Emit.ILGeneration/pkg/System.Reflection.Emit.ILGeneration.pkgproj
src/libraries/System.Reflection.Emit.Lightweight/pkg/System.Reflection.Emit.Lightweight.pkgproj
src/libraries/System.Reflection.Emit/pkg/System.Reflection.Emit.pkgproj
src/libraries/System.Reflection.Metadata/pkg/System.Reflection.Metadata.pkgproj
src/libraries/System.Reflection.MetadataLoadContext/pkg/System.Reflection.MetadataLoadContext.pkgproj
src/libraries/System.Reflection.TypeExtensions/pkg/System.Reflection.TypeExtensions.pkgproj
src/libraries/System.Resources.Extensions/pkg/System.Resources.Extensions.pkgproj
src/libraries/System.Runtime.Caching/pkg/System.Runtime.Caching.pkgproj
src/libraries/System.Runtime.CompilerServices.Unsafe/pkg/System.Runtime.CompilerServices.Unsafe.pkgproj
src/libraries/System.Runtime.Intrinsics.Experimental/pkg/System.Runtime.Intrinsics.Experimental.pkgproj
src/libraries/System.Runtime.WindowsRuntime.UI.Xaml/pkg/System.Runtime.WindowsRuntime.UI.Xaml.pkgproj
src/libraries/System.Runtime.WindowsRuntime/pkg/System.Runtime.WindowsRuntime.pkgproj
src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj
src/libraries/System.Security.Cryptography.Cng/pkg/System.Security.Cryptography.Cng.pkgproj
src/libraries/System.Security.Cryptography.OpenSsl/pkg/System.Security.Cryptography.OpenSsl.pkgproj
src/libraries/System.Security.Cryptography.Pkcs/pkg/System.Security.Cryptography.Pkcs.pkgproj
src/libraries/System.Security.Cryptography.ProtectedData/pkg/System.Security.Cryptography.ProtectedData.pkgproj
src/libraries/System.Security.Cryptography.Xml/pkg/System.Security.Cryptography.Xml.pkgproj
src/libraries/System.Security.Permissions/pkg/System.Security.Permissions.pkgproj
src/libraries/System.Security.Principal.Windows/pkg/System.Security.Principal.Windows.pkgproj
src/libraries/System.ServiceModel.Syndication/pkg/System.ServiceModel.Syndication.pkgproj
src/libraries/System.ServiceProcess.ServiceController/pkg/System.ServiceProcess.ServiceController.pkgproj
src/libraries/System.Text.Encoding.CodePages/pkg/System.Text.Encoding.CodePages.pkgproj
src/libraries/System.Text.Encodings.Web/pkg/System.Text.Encodings.Web.pkgproj
src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj
src/libraries/System.Threading.AccessControl/pkg/System.Threading.AccessControl.pkgproj
src/libraries/System.Threading.Channels/pkg/System.Threading.Channels.pkgproj
src/libraries/System.Threading.Tasks.Dataflow/pkg/System.Threading.Tasks.Dataflow.pkgproj
src/libraries/System.Utf8String.Experimental/pkg/System.Utf8String.Experimental.pkgproj
src/libraries/System.Windows.Extensions/pkg/System.Windows.Extensions.pkgproj
src/libraries/pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.pkgproj
src/libraries/pkg/Microsoft.NETCore.Platforms/Microsoft.NETCore.Platforms.pkgproj
src/libraries/pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.pkgproj
src/libraries/pkg/Microsoft.Private.CoreFx.NETCoreApp/Microsoft.Private.CoreFx.NETCoreApp.pkgproj
src/libraries/pkg/Microsoft.Private.CoreFx.OOB/Microsoft.Private.CoreFx.OOB.pkgproj
src/libraries/pkg/Microsoft.Private.PackageBaseline/Microsoft.Private.PackageBaseline.pkgproj
src/libraries/pkg/Microsoft.Windows.Compatibility/Microsoft.Windows.Compatibility.pkgproj
src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.pkgproj
src/libraries/pkg/test/testPackages.proj
src/libraries/shims/ApiCompat.proj