From 6ff5ecf9c5c2e564d46e5dde50e15b50c9dcca29 Mon Sep 17 00:00:00 2001
From: Rose <83477269+AtariDreams@users.noreply.github.com>
Date: Thu, 20 Oct 2022 12:01:31 -0400
Subject: [PATCH] Revert "Fix configs"
This reverts commit 129243106b2d055fcb0ab73dd4da81d61218a34b.
---
src/Tests/HostTest/HostTest.vcxproj | 8 ++++----
src/Tests/HostTest/packages.config | 2 +-
src/WinRT.Runtime/GuidGenerator.cs | 18 +++++++++---------
3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/Tests/HostTest/HostTest.vcxproj b/src/Tests/HostTest/HostTest.vcxproj
index 9ede74982..d16eb163a 100644
--- a/src/Tests/HostTest/HostTest.vcxproj
+++ b/src/Tests/HostTest/HostTest.vcxproj
@@ -1,7 +1,7 @@
-
+
Debug
@@ -225,9 +225,9 @@
+
-
@@ -326,10 +326,10 @@
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
+
+
-
-
\ No newline at end of file
diff --git a/src/Tests/HostTest/packages.config b/src/Tests/HostTest/packages.config
index 41cde3be1..12e18d237 100644
--- a/src/Tests/HostTest/packages.config
+++ b/src/Tests/HostTest/packages.config
@@ -2,5 +2,5 @@
-
+
\ No newline at end of file
diff --git a/src/WinRT.Runtime/GuidGenerator.cs b/src/WinRT.Runtime/GuidGenerator.cs
index 128de43bf..2028abe82 100644
--- a/src/WinRT.Runtime/GuidGenerator.cs
+++ b/src/WinRT.Runtime/GuidGenerator.cs
@@ -22,7 +22,7 @@ public static Guid GetGUID(Type type)
return type.GetGuidType().GUID;
}
- public static Guid GetIID(
+ public static Guid GetIID(
#if NET
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)]
#endif
@@ -36,21 +36,21 @@ public static Guid GetIID(
return (Guid)type.GetField("PIID").GetValue(null);
}
- public static string GetSignature(
+ public static string GetSignature(
#if NET
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)]
#endif
Type type)
- {
+ {
if (type == typeof(object))
{
return "cinterface(IInspectable)";
- }
-
+ }
+
if (type == typeof(string))
{
return "string";
- }
+ }
var helperType = type.FindHelperType();
if (helperType != null)
@@ -95,15 +95,15 @@ public static string GetSignature(
}
}
}
-
+
type = type.IsInterface ? (type.GetAuthoringMetadataType() ?? type) : type;
if (type.IsGenericType)
{
var args = type.GetGenericArguments().Select(t => GetSignature(t));
return "pinterface({" + GetGUID(type) + "};" + String.Join(";", args) + ")";
- }
-
+ }
+
if (type.IsDelegate())
{
return "delegate({" + GetGUID(type) + "})";