Ban some more BCL methods (not used anywhere)
This commit is contained in:
parent
67f87b15c4
commit
93fe2c8b6a
|
@ -10,5 +10,8 @@ M:System.Convert.ToUInt16(System.String);use ushort.{Try,}Parse
|
|||
M:System.Convert.ToUInt32(System.String);use uint.{Try,}Parse
|
||||
M:System.Convert.ToUInt64(System.String);use ulong.{Try,}Parse
|
||||
M:System.Diagnostics.Debug.Assert(System.Boolean);include a unique message
|
||||
M:System.Diagnostics.Debug.WriteLine(System.String);use Util.DebugWriteLine (first-party) because apparently the BCL's version doesn't work properly in some circumstances?
|
||||
M:System.Diagnostics.Trace.Assert(System.Boolean);include a unique message
|
||||
M:System.Diagnostics.Trace.Assert(System.Boolean,System.String);just do the check and throw a specific exception
|
||||
M:System.String.GetHashCode;strings' hashcodes aren't stable
|
||||
M:System.Windows.Forms.Control.Focus;use Activate for Forms, or Select otherwise
|
||||
|
|
Loading…
Reference in New Issue