GetFieldWarningCount() public method

Gets the field warning count of all fields.
public GetFieldWarningCount ( ) : int
return int
            public void ReturnsRightAmountForEmptyValidationContextWithTag()
            {
                var context = new ValidationContext();

                Assert.AreEqual(0, context.GetFieldWarningCount("tag"));
            }