public bool Equals(TestStruct other) => IntValue == other.IntValue && ByteValue == other.ByteValue && NestedTestClass.Equals(other.NestedTestClass) && NestedTestStruct == other.NestedTestStruct;
#pragma warning restore SA1401 // Fields should be private #pragma warning restore IDE1006 // Naming Styles #pragma warning restore CA1051 // Do not declare visible instance fields public TestClass(bool readOnlyBoolValue, NestedTestClass protectedNestedTestClass) { ReadOnlyBoolValue = readOnlyBoolValue; ProtectedNestedTestClass = protectedNestedTestClass; }