Changeset 1600


Ignore:
Timestamp:
1/19/2010 3:56:06 AM (4 years ago)
Author:
lowjoel
Message:

These warnings generated by FxCop? can be suppressed as the code has been verified and excluded.

Location:
branches/eraser6/CodeReview/Eraser.Util
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser.Util/ConsoleWindow.cs

    r1584 r1600  
    5050        } 
    5151 
     52        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "disposing")] 
    5253        private void Dispose(bool disposing) 
    5354        { 
  • branches/eraser6/CodeReview/Eraser.Util/Localisation.cs

    r1591 r1600  
    3838    /// call S._(string) or S._(string, object) for plurals 
    3939    /// </summary> 
     40    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "S")] 
    4041    public static class S 
    4142    { 
     
    4546        /// <param name="str">The string to localise.</param> 
    4647        /// <returns>A localised string, or str if no localisation exists.</returns> 
     48        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")] 
     49        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "_")] 
    4750        public static string _(string text) 
    4851        { 
     
    5962        /// <returns>The formatted and localised string.</returns> 
    6063        /// <remarks>The localised string is retrieved before formatting.</remarks> 
     64        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")] 
     65        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "_")] 
    6166        public static string _(string text, params object[] args) 
    6267        { 
  • branches/eraser6/CodeReview/Eraser.Util/Theming.cs

    r1590 r1600  
    200200                if (Instance != null) 
    201201                    throw new InvalidOperationException("Only one instance of the " + 
    202                         "ThemeMessageFilter can exist at any one time."); 
     202                        "theme-change message filter can exist at any one time."); 
    203203 
    204204                Instance = this; 
Note: See TracChangeset for help on using the changeset viewer.