Loading files
7f9864208This file is pinned to the selected release. Download the original to open it in your design tool.
using System.Diagnostics.CodeAnalysis;
namespace Hast.TestInputs.Invalid;
[SuppressMessage("Design", "CA1052:Static holder types should be Static or NotInheritable", Justification = "Sample.")]
[SuppressMessage("Major Code Smell", "S1118:Utility classes should not have public constructors", Justification = "Sample.")]
[SuppressMessage("Usage", "CA2211:Non-constant fields should not be visible", Justification = "Sample.")]
[SuppressMessage("Critical Code Smell", "S2223:Non-constant static fields should not be visible", Justification = "Sample.")]
[SuppressMessage("Minor Code Smell", "S1104:Fields should not have public accessibility", Justification = "Sample.")]
public class InvalidModel
{
// Static fields are not supported.
public static int StaticField = 10;
}