1. UseStringEmptyRule Problem: The method 'System.CodeDom.Compiler.CompilerError Mono.CSharp.CSharpCodeCompiler::CreateErrorFromString(System.String)' use literal "" instead of String.Empty. Details: Mono.CSharp.CSharpCodeCompiler::CreateErrorFromString:0007: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 2. UseStringEmptyRule Problem: The method 'System.Void Mono.CSharp.CSharpCodeGenerator::GenerateCompileUnitStart(System.CodeDom.CodeCompileUnit)' use literal "" instead of String.Empty. Details: Mono.CSharp.CSharpCodeGenerator::GenerateCompileUnitStart:004b: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 3. UseStringEmptyRule Problem: The method 'System.Void Mono.CSharp.CSharpCodeGenerator::GenerateCompileUnit(System.CodeDom.CodeCompileUnit)' use literal "" instead of String.Empty. Details: Mono.CSharp.CSharpCodeGenerator::GenerateCompileUnit:0030: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 4. UseStringEmptyRule Problem: The method 'System.Void Mono.CSharp.CSharpCodeGenerator::OutputStartBrace()' use literal "" instead of String.Empty. Details: Mono.CSharp.CSharpCodeGenerator::OutputStartBrace:0020: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 5. NewLineLiteralRule Problem: The method 'System.String Mono.CSharp.CSharpCodeGenerator::QuoteSnippetString(System.String)' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems. Details: Mono.CSharp.CSharpCodeGenerator::QuoteSnippetString:0034: Found string: "\r" Mono.CSharp.CSharpCodeGenerator::QuoteSnippetString:0045: Found string: "\n" Solution: Replace literals with Environment.NewLine. More info available at: http://www.mono-project.com/Gendarme 6. UseStringEmptyRule Problem: The method 'System.String System.ComponentModel.MemberDescriptor::get_Description()' use literal "" instead of String.Empty. Details: System.ComponentModel.MemberDescriptor::get_Description:0038: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 7. UseStringEmptyRule Problem: The method 'System.CodeDom.Compiler.CompilerResults Microsoft.VisualBasic.VBCodeCompiler::CompileFromFileBatch(System.CodeDom.Compiler.CompilerParameters,System.String[])' use literal "" instead of String.Empty. Details: Microsoft.VisualBasic.VBCodeCompiler::CompileFromFileBatch:0036: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 8. UseStringEmptyRule Problem: The method 'System.Void Microsoft.VisualBasic.VBCodeGenerator::GenerateCompileUnitStart(System.CodeDom.CodeCompileUnit)' use literal "" instead of String.Empty. Details: Microsoft.VisualBasic.VBCodeGenerator::GenerateCompileUnitStart:004b: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 9. UseStringEmptyRule Problem: The method 'System.Void Microsoft.VisualBasic.VBCodeGenerator::GenerateTypeStart(System.CodeDom.CodeTypeDeclaration)' use literal "" instead of String.Empty. Details: Microsoft.VisualBasic.VBCodeGenerator::GenerateTypeStart:00d2: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 10. UseStringEmptyRule Problem: The method 'System.Void Microsoft.VisualBasic.VBCodeGenerator::OutputAttributes(System.CodeDom.CodeAttributeDeclarationCollection,System.String,Microsoft.VisualBasic.VBCodeGenerator/LineHandling)' use literal "" instead of String.Empty. Details: Microsoft.VisualBasic.VBCodeGenerator::OutputAttributes:0066: instance of an empty string has been found. Microsoft.VisualBasic.VBCodeGenerator::OutputAttributes:00dd: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 11. TypeLinkDemandRule Problem: The type System.CodeDom.Compiler.CompilerError isn't sealed and has a LinkDemand. It should also have an InheritanceDemand for the same permissions. Solution: Add an InheritanceDemand for the same permissions (as the LinkDemand) or seal the class. More info available at: http://www.mono-project.com/Gendarme 12. TypeLinkDemandRule Problem: The type System.CodeDom.Compiler.TempFileCollection isn't sealed and has a LinkDemand. It should also have an InheritanceDemand for the same permissions. Solution: Add an InheritanceDemand for the same permissions (as the LinkDemand) or seal the class. More info available at: http://www.mono-project.com/Gendarme 13. SecureGetObjectDataOverridesRule Problem: The method 'System.Void System.Collections.Specialized.NameObjectCollectionBase::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)' isn't protected correctly against a serialization attack. Solution: A security Demand for SerializationFormatter should protect this method. More info available at: http://www.mono-project.com/Gendarme 14. SecureGetObjectDataOverridesRule Problem: The method 'System.Void System.Configuration.ConfigurationException::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)' isn't protected correctly against a serialization attack. Solution: A security Demand for SerializationFormatter should protect this method. More info available at: http://www.mono-project.com/Gendarme 15. UseStringEmptyRule Problem: The method 'System.Void System.Configuration.ConfigurationData::ReadConfigFile(System.Xml.XmlTextReader)' use literal "" instead of String.Empty. Details: System.Configuration.ConfigurationData::ReadConfigFile:0061: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 16. UseStringEmptyRule Problem: The method 'System.String System.Diagnostics.DefaultTraceListener::GetPrefix(System.String,System.String)' use literal "" instead of String.Empty. Details: System.Diagnostics.DefaultTraceListener::GetPrefix:0020: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 17. UseStringEmptyRule Problem: The method 'System.Void System.Diagnostics.TraceListener::Fail(System.String)' use literal "" instead of String.Empty. Details: System.Diagnostics.TraceListener::Fail:0002: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 18. UseStringEmptyRule Problem: The method 'System.Void System.Diagnostics.TraceListener::Fail(System.String,System.String)' use literal "" instead of String.Empty. Details: System.Diagnostics.TraceListener::Fail:0030: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 19. UseStringEmptyRule Problem: The method 'System.String System.Diagnostics.PerformanceCounter::get_CounterHelp()' use literal "" instead of String.Empty. Details: System.Diagnostics.PerformanceCounter::get_CounterHelp:0000: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 20. UseStringEmptyRule Problem: The method 'System.Boolean System.Diagnostics.Process::Start_common(System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process)' use literal "" instead of String.Empty. Details: System.Diagnostics.Process::Start_common:0011: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 21. DoubleCheckLockingRule Problem: Method 'System.Void System.IO.FAMWatcher::StartMonitoringDirectory(System.IO.FAMData,System.Boolean)' uses the unreliable double-check locking technique. Details: System.IO.FAMWatcher::StartMonitoringDirectory:00c7: possible double-check locking Solution: Remove the lock check that occurs outside of the protected region. Or see: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html More info available at: http://www.mono-project.com/Gendarme 22. UseStringEmptyRule Problem: The method 'System.String System.IO.FileSystemWatcher::get_FullPath()' use literal "" instead of String.Empty. Details: System.IO.FileSystemWatcher::get_FullPath:001c: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 23. UseStringEmptyRule Problem: The method 'System.Void System.IO.FileSystemWatcher::set_Filter(System.String)' use literal "" instead of String.Empty. Details: System.IO.FileSystemWatcher::set_Filter:0007: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 24. UseStringEmptyRule Problem: The method 'System.Void System.IO.FileSystemWatcher::DispatchEvents(System.IO.FileAction,System.String,System.IO.RenamedEventArgs&)' use literal "" instead of String.Empty. Details: System.IO.FileSystemWatcher::DispatchEvents:00fb: instance of an empty string has been found. System.IO.FileSystemWatcher::DispatchEvents:0133: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 25. DoubleCheckLockingRule Problem: Method 'System.Void System.IO.InotifyWatcher::StartMonitoringDirectory(System.IO.InotifyData,System.Boolean)' uses the unreliable double-check locking technique. Details: System.IO.InotifyWatcher::StartMonitoringDirectory:0138: possible double-check locking Solution: Remove the lock check that occurs outside of the protected region. Or see: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html More info available at: http://www.mono-project.com/Gendarme 26. UseStringEmptyRule Problem: The method 'System.Void System.IO.KeventWatcher::ProcessEvent(System.IO.kevent)' use literal "" instead of String.Empty. Details: System.IO.KeventWatcher::ProcessEvent:0034: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 27. UseStringEmptyRule Problem: The method 'System.Net.Authorization System.Net.BasicClient::InternalAuthenticate(System.Net.WebRequest,System.Net.ICredentials)' use literal "" instead of String.Empty. Details: System.Net.BasicClient::InternalAuthenticate:0040: instance of an empty string has been found. System.Net.BasicClient::InternalAuthenticate:0069: instance of an empty string has been found. System.Net.BasicClient::InternalAuthenticate:007f: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 28. UseStringEmptyRule Problem: The method 'System.Net.ChunkStream/State System.Net.ChunkStream::ReadTrailer(System.Byte[],System.Int32&,System.Int32)' use literal "" instead of String.Empty. Details: System.Net.ChunkStream::ReadTrailer:0141: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 29. NewLineLiteralRule Problem: The method 'System.Net.ChunkStream/State System.Net.ChunkStream::ReadTrailer(System.Byte[],System.Int32&,System.Int32)' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems. Details: System.Net.ChunkStream::ReadTrailer:0051: Found string: "\r\n\r" Solution: Replace literals with Environment.NewLine. More info available at: http://www.mono-project.com/Gendarme 30. UseStringEmptyRule Problem: The method 'System.Void System.Net.Configuration.ConnectionManagementData::Add(System.String,System.String)' use literal "" instead of String.Empty. Details: System.Net.Configuration.ConnectionManagementData::Add:0007: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 31. UseStringEmptyRule Problem: The method 'System.Void System.Net.CookieContainer::Add(System.Net.Cookie)' use literal "" instead of String.Empty. Details: System.Net.CookieContainer::Add:0018: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 32. UseStringEmptyRule Problem: The method 'System.Void System.Net.CookieContainer::Cook(System.Uri,System.Net.Cookie)' use literal "" instead of String.Empty. Details: System.Net.CookieContainer::Cook:0011: instance of an empty string has been found. System.Net.CookieContainer::Cook:004e: instance of an empty string has been found. System.Net.CookieContainer::Cook:007a: instance of an empty string has been found. System.Net.CookieContainer::Cook:00b2: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 33. UseStringEmptyRule Problem: The method 'System.String System.Net.CookieContainer::GetCookieHeader(System.Uri)' use literal "" instead of String.Empty. Details: System.Net.CookieContainer::GetCookieHeader:0025: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 34. UseStringEmptyRule Problem: The method 'System.Boolean System.Net.CookieContainer::CheckDomain(System.String,System.String)' use literal "" instead of String.Empty. Details: System.Net.CookieContainer::CheckDomain:0001: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 35. UseStringEmptyRule Problem: The method 'System.Net.CookieCollection System.Net.CookieContainer::GetCookies(System.Uri)' use literal "" instead of String.Empty. Details: System.Net.CookieContainer::GetCookies:0070: instance of an empty string has been found. System.Net.CookieContainer::GetCookies:00ca: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 36. UseStringEmptyRule Problem: The method 'System.String System.Net.CookieContainer::GetDir(System.String)' use literal "" instead of String.Empty. Details: System.Net.CookieContainer::GetDir:0007: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 37. UseStringEmptyRule Problem: The method 'System.Void System.Net.CookieContainer::ParseAndAddCookies(System.Uri,System.String)' use literal "" instead of String.Empty. Details: System.Net.CookieContainer::ParseAndAddCookies:0066: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 38. UseStringEmptyRule Problem: The method 'System.String System.Net.Cookie::get_Path()' use literal "" instead of String.Empty. Details: System.Net.Cookie::get_Path:0011: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 39. DoubleCheckLockingRule Problem: Method 'System.Net.Authorization System.Net.DigestSession::Authenticate(System.Net.WebRequest,System.Net.ICredentials)' uses the unreliable double-check locking technique. Details: System.Net.DigestSession::Authenticate:00fb: possible double-check locking Solution: Remove the lock check that occurs outside of the protected region. Or see: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html More info available at: http://www.mono-project.com/Gendarme 40. UseStringEmptyRule Problem: The method 'System.Net.Authorization System.Net.DigestSession::Authenticate(System.Net.WebRequest,System.Net.ICredentials)' use literal "" instead of String.Empty. Details: System.Net.DigestSession::Authenticate:0056: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 41. UseStringEmptyRule Problem: The method 'System.Void System.Net.HttpWebRequest::set_Method(System.String)' use literal "" instead of String.Empty. Details: System.Net.HttpWebRequest::set_Method:000c: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 42. UseStringEmptyRule Problem: The method 'System.Void System.Net.HttpWebRequest::CommonChecks(System.Boolean)' use literal "" instead of String.Empty. Details: System.Net.HttpWebRequest::CommonChecks:0073: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 43. UseStringEmptyRule Problem: The method 'System.String System.Net.HttpWebRequest::GetHeaders()' use literal "" instead of String.Empty. Details: System.Net.HttpWebRequest::GetHeaders:01fc: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 44. NewLineLiteralRule Problem: The method 'System.Void System.Net.HttpWebRequest::SendRequestHeaders()' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems. Details: System.Net.HttpWebRequest::SendRequestHeaders:0105: Found string: "{0} {1} HTTP/{2}.{3}\r\n" Solution: Replace literals with Environment.NewLine. More info available at: http://www.mono-project.com/Gendarme 45. UseStringEmptyRule Problem: The method 'System.String System.Net.HttpWebResponse::get_ContentEncoding()' use literal "" instead of String.Empty. Details: System.Net.HttpWebResponse::get_ContentEncoding:0023: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 46. UseStringEmptyRule Problem: The method 'System.String System.Net.HttpWebResponse::GetResponseHeader(System.String)' use literal "" instead of String.Empty. Details: System.Net.HttpWebResponse::GetResponseHeader:001f: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 47. UseStringEmptyRule Problem: The method 'System.Void System.Net.HttpWebResponse::SetCookie(System.String)' use literal "" instead of String.Empty. Details: System.Net.HttpWebResponse::SetCookie:0015: instance of an empty string has been found. System.Net.HttpWebResponse::SetCookie:00d8: instance of an empty string has been found. System.Net.HttpWebResponse::SetCookie:0278: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 48. UseStringEmptyRule Problem: The method 'System.Net.WebConnectionGroup System.Net.ServicePoint::GetConnectionGroup(System.String)' use literal "" instead of String.Empty. Details: System.Net.ServicePoint::GetConnectionGroup:0006: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 49. DontDestroyStackTrace Problem: A catch block in method or property 'System.Void System.Net.Sockets.TcpClient::Connect(System.String,System.Int32)' throws the caught exception. Details: System.Net.Sockets.TcpClient::Connect:00de: Throwing original exception - destroys stack trace! Solution: If you need to throw the exception caught by the catch block, use 'throw;' instead of 'throw ex;' More info available at: http://www.mono-project.com/Gendarme 50. DontDestroyStackTrace Problem: A catch block in method or property 'System.Void System.Net.Sockets.UdpClient::Connect(System.String,System.Int32)' throws the caught exception. Details: System.Net.Sockets.UdpClient::Connect:0082: Throwing original exception - destroys stack trace! Solution: If you need to throw the exception caught by the catch block, use 'throw;' instead of 'throw ex;' More info available at: http://www.mono-project.com/Gendarme 51. UseStringEmptyRule Problem: The method 'System.String System.Net.WebClient::get_BaseAddress()' use literal "" instead of String.Empty. Details: System.Net.WebClient::get_BaseAddress:0017: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 52. UseStringEmptyRule Problem: The method 'System.Void System.Net.WebClient::set_BaseAddress(System.String)' use literal "" instead of String.Empty. Details: System.Net.WebClient::set_BaseAddress:0007: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 53. NewLineLiteralRule Problem: The method 'System.Byte[] System.Net.WebClient::UploadFileCore(System.Uri,System.String,System.String)' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems. Details: System.Net.WebClient::UploadFileCore:00b3: Found string: "\r\n" System.Net.WebClient::UploadFileCore:00d2: Found string: "Content-Disposition: form-data; name="file"; filename="{0}"\r\nContent-Type: {1}\r\n\r\n" Solution: Replace literals with Environment.NewLine. More info available at: http://www.mono-project.com/Gendarme 54. UseStringEmptyRule Problem: The method 'System.Net.WebRequest System.Net.WebClient::SetupRequest(System.Uri)' use literal "" instead of String.Empty. Details: System.Net.WebClient::SetupRequest:011e: instance of an empty string has been found. System.Net.WebClient::SetupRequest:013d: instance of an empty string has been found. System.Net.WebClient::SetupRequest:015b: instance of an empty string has been found. System.Net.WebClient::SetupRequest:017a: instance of an empty string has been found. System.Net.WebClient::SetupRequest:019a: instance of an empty string has been found. System.Net.WebClient::SetupRequest:01ba: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 55. NewLineLiteralRule Problem: The method 'System.Boolean System.Net.WebConnection::CreateTunnel(System.Net.HttpWebRequest,System.IO.Stream,System.Byte[]&)' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems. Details: System.Net.WebConnection::CreateTunnel:0083: Found string: "\r\nHost: " System.Net.WebConnection::CreateTunnel:00d6: Found string: "\r\nProxy-Authorization: " System.Net.WebConnection::CreateTunnel:0139: Found string: "\r\nProxy-Authorization: " System.Net.WebConnection::CreateTunnel:0153: Found string: "\r\n\r\n" Solution: Replace literals with Environment.NewLine. More info available at: http://www.mono-project.com/Gendarme 56. UseStringEmptyRule Problem: The method 'System.Int32 System.Net.WebConnection::GetResponse(System.Byte[],System.Int32)' use literal "" instead of String.Empty. Details: System.Net.WebConnection::GetResponse:0101: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 57. DontDestroyStackTrace Problem: A catch block in method or property 'System.Int32 System.Net.WebConnection::EndRead(System.IAsyncResult)' throws the caught exception. Details: System.Net.WebConnection::EndRead:0100: Throwing original exception - destroys stack trace! Solution: If you need to throw the exception caught by the catch block, use 'throw;' instead of 'throw ex;' More info available at: http://www.mono-project.com/Gendarme 58. DoubleCheckLockingRule Problem: Method 'System.Int32 System.Net.WebConnectionStream::EndRead(System.IAsyncResult)' uses the unreliable double-check locking technique. Details: System.Net.WebConnectionStream::EndRead:0073: possible double-check locking Solution: Remove the lock check that occurs outside of the protected region. Or see: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html More info available at: http://www.mono-project.com/Gendarme 59. NewLineLiteralRule Problem: The method 'System.IAsyncResult System.Net.WebConnectionStream::BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems. Details: System.Net.WebConnectionStream::BeginWrite:0133: Found string: "{0:X}\r\n" Solution: Replace literals with Environment.NewLine. More info available at: http://www.mono-project.com/Gendarme 60. NewLineLiteralRule Problem: The method 'System.Void System.Net.WebConnectionStream::Close()' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems. Details: System.Net.WebConnectionStream::Close:001c: Found string: "0\r\n\r\n" Solution: Replace literals with Environment.NewLine. More info available at: http://www.mono-project.com/Gendarme 61. UseStringEmptyRule Problem: The method 'System.Boolean System.Net.WebHeaderCollection::IsRestricted(System.String)' use literal "" instead of String.Empty. Details: System.Net.WebHeaderCollection::IsRestricted:0012: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 62. NewLineLiteralRule Problem: The method 'System.String System.Net.WebHeaderCollection::ToString()' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems. Details: System.Net.WebHeaderCollection::ToString:0037: Found string: "\r\n" System.Net.WebHeaderCollection::ToString:004e: Found string: "\r\n" Solution: Replace literals with Environment.NewLine. More info available at: http://www.mono-project.com/Gendarme 63. UseStringEmptyRule Problem: The method 'System.Boolean System.Net.WebHeaderCollection::IsMultiValue(System.String)' use literal "" instead of String.Empty. Details: System.Net.WebHeaderCollection::IsMultiValue:0007: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 64. UseStringEmptyRule Problem: The method 'System.String System.Text.RegularExpressions.Syntax.Parser::Escape(System.String)' use literal "" instead of String.Empty. Details: System.Text.RegularExpressions.Syntax.Parser::Escape:0000: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 65. UseStringEmptyRule Problem: The method 'System.Void System.Text.RegularExpressions.Syntax.Parser::ParseGroup(System.Text.RegularExpressions.Syntax.Group,System.Text.RegularExpressions.RegexOptions,System.Text.RegularExpressions.Syntax.Assertion)' use literal "" instead of String.Empty. Details: System.Text.RegularExpressions.Syntax.Parser::ParseGroup:0428: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 66. UseStringEmptyRule Problem: The method 'System.String System.Text.RegularExpressions.Regex::GroupNameFromNumber(System.Int32)' use literal "" instead of String.Empty. Details: System.Text.RegularExpressions.Regex::GroupNameFromNumber:000c: instance of an empty string has been found. System.Text.RegularExpressions.Regex::GroupNameFromNumber:0078: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 67. UseStringEmptyRule Problem: The method 'System.Int32 System.Text.RegularExpressions.ReplacementEvaluator::CompileTerm(System.Int32&)' use literal "" instead of String.Empty. Details: System.Text.RegularExpressions.ReplacementEvaluator::CompileTerm:00b6: instance of an empty string has been found. System.Text.RegularExpressions.ReplacementEvaluator::CompileTerm:0123: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 68. UseStringEmptyRule Problem: The method 'System.Void System.UriBuilder::set_Query(System.String)' use literal "" instead of String.Empty. Details: System.UriBuilder::set_Query:0007: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 69. UseStringEmptyRule Problem: The method 'System.String[] System.Uri::get_Segments()' use literal "" instead of String.Empty. Details: System.Uri::get_Segments:00f6: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme 70. UseStringEmptyRule Problem: The method 'System.String System.Uri::Reduce(System.String)' use literal "" instead of String.Empty. Details: System.Uri::Reduce:0041: instance of an empty string has been found. Solution: Change the empty string for String.Empty. More info available at: http://www.mono-project.com/Gendarme