diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/GalaSoft.MvvmLight (NET35).csproj b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/GalaSoft.MvvmLight (NET35).csproj index 7b944bf..1947f3a 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/GalaSoft.MvvmLight (NET35).csproj +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/GalaSoft.MvvmLight (NET35).csproj @@ -47,7 +47,7 @@ full false bin\Debug\ - TRACE;DEBUG;CODE_ANALYSIS + TRACE;DEBUG prompt 4 true diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/GlobalSuppressions.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/GlobalSuppressions.cs index 6dc7f27..225d946 100644 Binary files a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/GlobalSuppressions.cs and b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/GlobalSuppressions.cs differ diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakAction.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakAction.cs index a825933..75d8545 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakAction.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakAction.cs @@ -24,8 +24,8 @@ namespace GalaSoft.MvvmLight.Helpers /// to be created to the Action's owner. The owner can be garbage collected at any time. /// ////[ClassInfo(typeof(WeakAction), - //// VersionString = "4.0.15", - //// DateString = "201206191330", + //// VersionString = "4.2.16", + //// DateString = "201309262235", //// Description = "A class allowing to store and invoke actions without keeping a hard reference to the action's target.", //// UrlContacts = "http://www.galasoft.ch/contact_en.html", //// Email = "laurent@galasoft.ch")] @@ -141,6 +141,10 @@ namespace GalaSoft.MvvmLight.Helpers /// /// The action's owner. /// The action that will be associated to this instance. + [System.Diagnostics.CodeAnalysis.SuppressMessage( + "Microsoft.Design", + "CA1062:Validate arguments of public methods", + MessageId = "1")] public WeakAction(object target, Action action) { #if NETFX_CORE diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakActionGeneric.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakActionGeneric.cs index 3c0bf04..c1e7482 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakActionGeneric.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakActionGeneric.cs @@ -107,6 +107,7 @@ namespace GalaSoft.MvvmLight.Helpers /// /// The action's owner. /// The action that will be associated to this instance. + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1")] public WeakAction(object target, Action action) { #if NETFX_CORE diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakFunc.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakFunc.cs index 588df0d..bf95be9 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakFunc.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakFunc.cs @@ -137,6 +137,7 @@ namespace GalaSoft.MvvmLight.Helpers /// /// The Func's owner. /// The Func that will be associated to this instance. + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1")] public WeakFunc(object target, Func func) { #if NETFX_CORE diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakFuncGeneric.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakFuncGeneric.cs index 23c2032..c99ca1b 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakFuncGeneric.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Helpers/WeakFuncGeneric.cs @@ -108,6 +108,7 @@ namespace GalaSoft.MvvmLight.Helpers /// /// The Func's owner. /// The Func that will be associated to this instance. + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "1")] public WeakFunc(object target, Func func) { #if NETFX_CORE diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Messaging/Messenger.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Messaging/Messenger.cs index d4cecc5..5d8d9b3 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Messaging/Messenger.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Messaging/Messenger.cs @@ -43,8 +43,8 @@ namespace GalaSoft.MvvmLight.Messaging /// The Messenger is a class allowing objects to exchange messages. /// ////[ClassInfo(typeof(Messenger), - //// VersionString = "4.0.16", - //// DateString = "201206191330", + //// VersionString = "4.2.17", + //// DateString = "201309262235", //// Description = "A messenger class allowing a class to send a message to multiple recipients", //// UrlContacts = "http://www.galasoft.ch/contact_en.html", //// Email = "laurent@galasoft.ch")] diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Properties/AssemblyInfo.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Properties/AssemblyInfo.cs index 06312fb..bc339b4 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Properties/AssemblyInfo.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Properties/AssemblyInfo.cs @@ -15,7 +15,6 @@ // **************************************************************************** using System; -using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.InteropServices; @@ -31,60 +30,5 @@ using System.Runtime.InteropServices; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] -[assembly: AssemblyVersion("4.1.27.*")] -////[assembly: AssemblyFileVersion("4.1.27.0/BL0027")] - -// FxCop -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Mvvm")] - -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - Scope = "namespace", - Target = "GalaSoft.MvvmLight", - MessageId = "Mvvm")] - -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Messaging", - MessageId = "Mvvm")] - -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Command", - MessageId = "Mvvm")] - -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Helpers", - MessageId = "Mvvm")] - -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Ioc", - MessageId = "Mvvm")] - -[module: SuppressMessage("Microsoft.Design", - "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", - Target = "GalaSoft.MvvmLight")] - -[module: SuppressMessage("Microsoft.Design", - "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Command")] - -[module: SuppressMessage("Microsoft.Design", - "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Helpers")] - -[module: SuppressMessage("Microsoft.Design", - "CA1020:AvoidNamespacesWithFewTypes", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Ioc")] +[assembly: AssemblyVersion("4.2.29.*")] +////[assembly: AssemblyFileVersion("4.1.29.0/BL0029")] \ No newline at end of file diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Threading/DispatcherHelper.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Threading/DispatcherHelper.cs index d31d47c..37a8b81 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Threading/DispatcherHelper.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/Threading/DispatcherHelper.cs @@ -37,8 +37,8 @@ namespace GalaSoft.MvvmLight.Threading /// Helper class for dispatcher operations on the UI thread. /// //// [ClassInfo(typeof(DispatcherHelper), - //// VersionString = "4.1.6", - //// DateString = "201305190047", + //// VersionString = "4.2.7", + //// DateString = "201309262235", //// Description = "Helper class for dispatcher operations on the UI thread.", //// UrlContacts = "http://www.galasoft.ch/contact_en.html", //// Email = "laurent@galasoft.ch")] diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/ViewModelBase.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/ViewModelBase.cs index e48af71..f7cedf0 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/ViewModelBase.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (NET35)/ViewModelBase.cs @@ -41,8 +41,8 @@ namespace GalaSoft.MvvmLight /// A base class for the ViewModel classes in the MVVM pattern. /// //// [ClassInfo(typeof(ViewModelBase), - //// VersionString = "4.0.14", - //// DateString = "201206191330", + //// VersionString = "4.2.15", + //// DateString = "201309262235", //// Description = "A base class for the ViewModel classes in the MVVM pattern.", //// UrlContacts = "http://www.galasoft.ch/contact_en.html", //// Email = "laurent@galasoft.ch")] @@ -193,7 +193,11 @@ namespace GalaSoft.MvvmLight /// If the propertyName parameter /// does not correspond to an existing property on the current class, an /// exception is thrown in DEBUG configuration only. - [SuppressMessage("Microsoft.Design", "CA1030:UseEventsWhereAppropriate", + [System.Diagnostics.CodeAnalysis.SuppressMessage( + "Microsoft.Design", + "CA1026:DefaultParametersShouldNotBeUsed"), + SuppressMessage( + "Microsoft.Design", "CA1030:UseEventsWhereAppropriate", Justification = "This cannot be an event")] protected virtual void RaisePropertyChanged( #if CMNATTR @@ -319,6 +323,9 @@ namespace GalaSoft.MvvmLight /// be broadcasted. If false, only the event will be raised. /// True if the PropertyChanged event was raised, false otherwise. [System.Diagnostics.CodeAnalysis.SuppressMessage( + "Microsoft.Design", + "CA1026:DefaultParametersShouldNotBeUsed"), + System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Design", "CA1045:DoNotPassTypesByReference", MessageId = "1#")] diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Command/EventToCommand.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Command/EventToCommand.cs index b1b91b2..9e80a95 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Command/EventToCommand.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Command/EventToCommand.cs @@ -33,8 +33,8 @@ namespace GalaSoft.MvvmLight.Command /// and leave the CommandParameter and CommandParameterValue empty! /// ////[ClassInfo(typeof(EventToCommand), - //// VersionString = "4.1.6", - //// DateString = "201305182300", + //// VersionString = "4.2.7", + //// DateString = "201309262235", //// Description = "A Trigger used to bind any event to an ICommand.", //// UrlContacts = "http://www.galasoft.ch/contact_en.html", //// Email = "laurent@galasoft.ch")] diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/GalaSoft.MvvmLight.Extras (NET35).csproj b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/GalaSoft.MvvmLight.Extras (NET35).csproj index bc37ea4..79a46ef 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/GalaSoft.MvvmLight.Extras (NET35).csproj +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/GalaSoft.MvvmLight.Extras (NET35).csproj @@ -52,6 +52,7 @@ 4 AllRules.ruleset bin\Debug\GalaSoft.MvvmLight.Extras.XML + true pdbonly diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Ioc/SimpleIoc.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Ioc/SimpleIoc.cs index fc8fe5c..ad39374 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Ioc/SimpleIoc.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Ioc/SimpleIoc.cs @@ -31,8 +31,8 @@ namespace GalaSoft.MvvmLight.Ioc /// been extended with additional features. /// //// [ClassInfo(typeof(SimpleIoc), - //// VersionString = "4.1.6", - //// DateString = "201212161200", + //// VersionString = "4.2.7", + //// DateString = "201309262235", //// Description = "A very simple IOC container.", //// UrlContacts = "http://www.galasoft.ch/contact_en.html", //// Email = "laurent@galasoft.ch")] diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Properties/AssemblyInfo.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Properties/AssemblyInfo.cs index edf82c4..ccbf935 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Properties/AssemblyInfo.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET35)/Properties/AssemblyInfo.cs @@ -43,22 +43,5 @@ using System.Windows.Markup; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] -[assembly: AssemblyVersion("4.1.27.*")] -////[assembly: AssemblyFileVersion("4.1.27.0/BL0027")] - -// FxCop -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - MessageId = "Mvvm")] - -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Command", - MessageId = "Mvvm")] - -[module: SuppressMessage("Microsoft.Naming", - "CA1704:IdentifiersShouldBeSpelledCorrectly", - Scope = "namespace", - Target = "GalaSoft.MvvmLight.Threading", - MessageId = "Mvvm")] +[assembly: AssemblyVersion("4.2.29.*")] +////[assembly: AssemblyFileVersion("4.2.29.0/BL0029")] \ No newline at end of file diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET4)/Command/EventToCommandVS10.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET4)/Command/EventToCommandVS10.cs index 1d499ba..29fbd14 100644 --- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET4)/Command/EventToCommandVS10.cs +++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Extras (NET4)/Command/EventToCommandVS10.cs @@ -36,8 +36,8 @@ namespace GalaSoft.MvvmLight.Command /// and leave the CommandParameter and CommandParameterValue empty! /// ////[ClassInfo(typeof(EventToCommand), - //// VersionString = "4.1.6", - //// DateString = "201305182300", + //// VersionString = "4.2.7", + //// DateString = "201309262235", //// Description = "A Trigger used to bind any event to an ICommand.", //// UrlContacts = "http://www.galasoft.ch/contact_en.html", //// Email = "laurent@galasoft.ch")]