diff --git a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj index ab488ee4d..5134bd3e6 100644 --- a/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj +++ b/ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj @@ -9,7 +9,7 @@ True - 1701;1702;1705,67,169,1058,728,1720,649,168,251,660,661,675;1998;162 + 1701;1702;1705,67,169,1058,728,1720,649,168,251,660,661,675;1998;162;8632 False False diff --git a/ICSharpCode.Decompiler/TypeSystem/ITypeDefinition.cs b/ICSharpCode.Decompiler/TypeSystem/ITypeDefinition.cs index fdac74dd9..f7d07a2c6 100644 --- a/ICSharpCode.Decompiler/TypeSystem/ITypeDefinition.cs +++ b/ICSharpCode.Decompiler/TypeSystem/ITypeDefinition.cs @@ -53,11 +53,6 @@ namespace ICSharpCode.Decompiler.TypeSystem /// bool IsReadOnly { get; } - /// - /// Gets the full name of this type. - /// - FullTypeName FullTypeName { get; } - /// /// Gets the short type name as stored in metadata. /// That is, the short type name including the generic arity (`N) appended. diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index 001a03ea7..812c66d50 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -108,6 +108,15 @@ $(MSBuildToolsPath)\..\..\..\..\VC\ $(VCBasePath)Auxiliary\Build\$(VCToolsVersionPropsFileNameDefault) + True + + + + 1701;1702;CA1001;CA2213 + + + + 1701;1702;CA1001;CA2213 diff --git a/ILSpy/NativeMethods.cs b/ILSpy/NativeMethods.cs index 87f087a68..9f9fdb0f0 100644 --- a/ILSpy/NativeMethods.cs +++ b/ILSpy/NativeMethods.cs @@ -35,7 +35,7 @@ namespace ICSharpCode.ILSpy [DllImport("user32.dll", CharSet = CharSet.Auto)] internal static extern unsafe int GetWindowThreadProcessId(IntPtr hWnd, int* lpdwProcessId); - [DllImport("user32.dll", CharSet = CharSet.Auto)] + [DllImport("user32.dll", CharSet = CharSet.Unicode)] static extern int GetWindowText(IntPtr hWnd, [Out] StringBuilder title, int size); public static string GetWindowText(IntPtr hWnd, int maxLength) diff --git a/ILSpy/TreeNodes/NaturalStringComparer.cs b/ILSpy/TreeNodes/NaturalStringComparer.cs index 177141260..016b7758f 100644 --- a/ILSpy/TreeNodes/NaturalStringComparer.cs +++ b/ILSpy/TreeNodes/NaturalStringComparer.cs @@ -21,6 +21,7 @@ using System.Runtime.InteropServices; namespace ICSharpCode.ILSpy.TreeNodes { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1060:MovePInvokesToNativeMethodsClass")] public sealed class NaturalStringComparer : IComparer { [DllImport("shlwapi.dll", CharSet = CharSet.Unicode)]