You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Underscores should only be allowed when they're used as the backing field of a getter property. They should be disallowed in all other cases. For example, the following is valid:
class MyClass
{
get value()
{
return this._value;
}
private _value = 0;
}
The name of the backing field should be identical to the name of the corresponding property, with the addition of the underscore prefix.
Also, the backing property with the underscore needs to be placed directly after the actual property in the file.
The text was updated successfully, but these errors were encountered:
Underscores should only be allowed when they're used as the backing field of a getter property. They should be disallowed in all other cases. For example, the following is valid:
The name of the backing field should be identical to the name of the corresponding property, with the addition of the underscore prefix.
Also, the backing property with the underscore needs to be placed directly after the actual property in the file.
The text was updated successfully, but these errors were encountered: