File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Extensions/Xtensive.Orm.Reprocessing
Orm/Xtensive.Orm/Core/Exceptions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Linq ;
33using System . Reflection ;
44using Xtensive . Orm . Configuration ;
@@ -27,7 +27,7 @@ public virtual Domain Build(DomainConfiguration config)
2727 var ex = e . InnerException as ReflectionTypeLoadException ;
2828 if ( ex != null )
2929 throw new InvalidOperationException (
30- string . Join ( " \r \n " , ex . LoaderExceptions . Select ( a => a . Message ) ) , ex ) ;
30+ string . Join ( Environment . NewLine , ex . LoaderExceptions . Select ( a => a . Message ) ) , ex ) ;
3131 throw ;
3232 }
3333 }
Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ public List<Exception> GetFlatExceptions()
6060 public override string ToString ( )
6161 {
6262 StringBuilder sb = new StringBuilder ( 64 ) ;
63- sb . Append ( base . ToString ( ) )
63+ _ = sb . Append ( base . ToString ( ) )
6464 . AppendLine ( )
6565 . AppendFormat ( "{0}:" , Strings . OriginalExceptions ) ;
6666 int i = 1 ;
6767 foreach ( Exception exception in exceptions )
68- sb . AppendLine ( ) . AppendFormat ( "\r \n {0}: {1}" , i ++ , exception ) ;
68+ sb . AppendLine ( ) . AppendFormat ( "{0}: {1}" , i ++ , exception ) ;
6969 return sb . ToString ( ) ;
7070 }
7171
You can’t perform that action at this time.
0 commit comments