var description = e.IsTerminating
? WPF.Properties.Resources.Unexpected_Error_Terminating
: WPF.Properties.Resources.Unexpected_Error;
- var message = String.Format(@"{0}\r\n{1}\r\n\r\n{2}",
+ var message = String.Format(@"{0}<LineBreak/>{1}<LineBreak/><LineBreak/>{2}",
description,
WPF.Properties.Resources.We_Apologize,
WPF.Properties.Resources.Please_Submit_Error);
[assembly: AssemblyCopyright("Copyright © GRNet 2011-2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
-[assembly: AssemblyInformationalVersion("2012-03-20")]
+[assembly: AssemblyInformationalVersion("2012-03-23")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("0.7.20314.0")]
-[assembly: AssemblyFileVersionAttribute("0.7.20314.0")]
+[assembly: AssemblyVersion("0.7.20315.0")]
+[assembly: AssemblyFileVersionAttribute("0.7.20315.0")]
public static int Read(this FileInfo fileInfo,byte[] buffer,long offset,int count)
{
- if (offset <= 0)
+ if (offset < 0)
throw new ArgumentOutOfRangeException("offset", offset, "The file offset can't be negative");
Contract.EndContractBlock();
//Open the stream only long enough to read a block