The requested page is not available for the requested platform. You are viewing the content for Default platform.

CRR0046 - Redundant field initialization

This analyzer identifies redundant field initialization values, which can be removed to improve code readability.

public int sum = 0;

To fix the issue, remove the field's redundant default value:

public int sum;

Call the Remove Redundant Assignment refactoring to remove the redundant field initialization.