From 167e2effe1fdddf701c299bf0447331514476130 Mon Sep 17 00:00:00 2001 From: Tebjan Halm Date: Mon, 25 Nov 2013 18:25:06 +0100 Subject: [PATCH] builds for .NET3.5 again --- Source/Properties/AssemblyInfo.cs | 2 +- Source/Svg.csproj | 2 +- Source/SvgElement.cs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/Properties/AssemblyInfo.cs b/Source/Properties/AssemblyInfo.cs index 349f4f5..f2f7b08 100644 --- a/Source/Properties/AssemblyInfo.cs +++ b/Source/Properties/AssemblyInfo.cs @@ -32,7 +32,7 @@ using System.Runtime.InteropServices; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.5.1.*")] +[assembly: AssemblyVersion("1.5.2.*")] //[assembly: AssemblyFileVersion("1.0.1.*")] [assembly: CLSCompliant(true)] diff --git a/Source/Svg.csproj b/Source/Svg.csproj index 3690613..0869b7f 100644 --- a/Source/Svg.csproj +++ b/Source/Svg.csproj @@ -16,7 +16,7 @@ 3.5 - v4.0 + v3.5 false diff --git a/Source/SvgElement.cs b/Source/SvgElement.cs index c7cf713..febac46 100644 --- a/Source/SvgElement.cs +++ b/Source/SvgElement.cs @@ -459,7 +459,7 @@ namespace Svg var evt = attr.Event.GetValue(this); //if someone has registered publish the attribute - if (evt != null && !string.IsNullOrWhiteSpace(this.ID)) + if (evt != null && !string.IsNullOrEmpty(this.ID)) { writer.WriteAttributeString(attr.Attribute.Name, this.ID + "/" + attr.Attribute.Name); } @@ -727,7 +727,7 @@ namespace Svg /// public void RegisterEvents(ISvgEventCaller caller) { - if (caller != null && !string.IsNullOrWhiteSpace(this.ID)) + if (caller != null && !string.IsNullOrEmpty(this.ID)) { var rpcID = this.ID + "/"; @@ -747,7 +747,7 @@ namespace Svg /// public void UnregisterEvents(ISvgEventCaller caller) { - if (caller != null && !string.IsNullOrWhiteSpace(this.ID)) + if (caller != null && !string.IsNullOrEmpty(this.ID)) { var rpcID = this.ID + "/"; -- GitLab