Remove unnecessary `CS0618` suppressions from Variant APIs by xtqqczze · Pull Request #26006 · PowerShell/PowerShell
Expand Up
@@ -141,9 +141,6 @@ private static string GetStringFromCustomType(COM.ITypeInfo typeinfo, IntPtr ref
return "UnknownCustomtype";
}
// Disable obsolete warning about VarEnum in CoreCLR #pragma warning disable 618
/// <summary> /// This function gets a string representation of the Type Descriptor /// This is used in generating signature for Properties and Methods. Expand Down Expand Up @@ -259,8 +256,6 @@ internal static Type GetTypeFromTypeDesc(COM.TYPEDESC typedesc) return VarEnumSelector.GetTypeForVarEnum(vt); }
#pragma warning restore 618
/// <summary> /// Converts a FuncDesc out of GetFuncDesc into a MethodInformation. /// </summary> Expand Down
// Disable obsolete warning about VarEnum in CoreCLR #pragma warning disable 618
/// <summary> /// This function gets a string representation of the Type Descriptor /// This is used in generating signature for Properties and Methods. Expand Down Expand Up @@ -259,8 +256,6 @@ internal static Type GetTypeFromTypeDesc(COM.TYPEDESC typedesc) return VarEnumSelector.GetTypeForVarEnum(vt); }
#pragma warning restore 618
/// <summary> /// Converts a FuncDesc out of GetFuncDesc into a MethodInformation. /// </summary> Expand Down