1- using System . Runtime . CompilerServices ;
21using System ;
32using System . Collections ;
43using System . Collections . Generic ;
54using System . Linq ;
65using System . Text ;
76
8- [ assembly: InternalsVisibleTo ( "NHibernate.Test" ) ]
97
108namespace NHibernate . Util
119{
@@ -739,7 +737,7 @@ public static string[] ParseFilterParameterName(string filterParameterName)
739737 /// returning, newLineLength will be set to the number of characters in the matched line
740738 /// separator (1 if LF was found, 2 if CRLF was found).
741739 /// </summary>
742- internal static int IndexOfAnyNewLine ( this string str , int startIndex , out int newLineLength )
740+ public static int IndexOfAnyNewLine ( this string str , int startIndex , out int newLineLength )
743741 {
744742 newLineLength = 0 ;
745743 var matchStartIdx = str . IndexOfAny ( new [ ] { '\r ' , '\n ' } , startIndex ) ;
@@ -762,7 +760,7 @@ internal static int IndexOfAnyNewLine(this string str, int startIndex, out int n
762760 /// of characters matched in the line separator. It will be 2 if a CRLF matched, 1 if LF
763761 /// matched, and 0 if the index doesn't indicate (the start of) a line separator.
764762 /// </summary>
765- internal static bool IsAnyNewLine ( this string str , int index , out int newLineLength )
763+ public static bool IsAnyNewLine ( this string str , int index , out int newLineLength )
766764 {
767765 if ( string . Compare ( str , index , "\r \n " , 0 , 2 , StringComparison . OrdinalIgnoreCase ) == 0 )
768766 {
0 commit comments