1
- using System . Runtime . CompilerServices ;
2
1
using System ;
3
2
using System . Collections ;
4
3
using System . Collections . Generic ;
5
4
using System . Linq ;
6
5
using System . Text ;
7
6
8
- [ assembly: InternalsVisibleTo ( "NHibernate.Test" ) ]
9
7
10
8
namespace NHibernate . Util
11
9
{
@@ -739,7 +737,7 @@ public static string[] ParseFilterParameterName(string filterParameterName)
739
737
/// returning, newLineLength will be set to the number of characters in the matched line
740
738
/// separator (1 if LF was found, 2 if CRLF was found).
741
739
/// </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 )
743
741
{
744
742
newLineLength = 0 ;
745
743
var matchStartIdx = str . IndexOfAny ( new [ ] { '\r ' , '\n ' } , startIndex ) ;
@@ -762,7 +760,7 @@ internal static int IndexOfAnyNewLine(this string str, int startIndex, out int n
762
760
/// of characters matched in the line separator. It will be 2 if a CRLF matched, 1 if LF
763
761
/// matched, and 0 if the index doesn't indicate (the start of) a line separator.
764
762
/// </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 )
766
764
{
767
765
if ( string . Compare ( str , index , "\r \n " , 0 , 2 , StringComparison . OrdinalIgnoreCase ) == 0 )
768
766
{
0 commit comments