friendly alternate for operator op_modulus

What is right?

FxCop wants a friendly alternate for operator op_modulus named "Modulus".

FxCop documentation says it should be named "Mod"

(The .Net documentation shows that Sql-Integer-datatypes (SqlInt16, SqlInt32 etc.) uses "mod", Decimal-datatype uses "Remainder", Oracle-datatypes use "Modulus")

/M

[384 byte] By [MikaelGr?nlund] at [2007-12-24]
# 1
I checked with the Design Guidelines owner, Mod is what is currently listed and that will remain. We should fix FxCop to reflect this.
MichaelFanning-MS at 2007-8-31 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 2

Mikael,

After discussion with the Design Guidelines owner, and Base Library Class (BCL) team, is was decided that we would accept 'Mod' and 'Remainder'.

This should be fixed in future versions of Visual Studio/FxCop.

Thanks for the feedback!

Regards

David

DavidM.Kean-MSFT at 2007-8-31 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...

Visual Studio Team System

Site Classified