12 references to ConnectionStringSyntax
System.Data (12)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (12)
620
if (Char.IsControl(currentChar)) { throw ADP.
ConnectionStringSyntax
(startposition); }
634
if (Char.IsControl(currentChar)) { throw ADP.
ConnectionStringSyntax
(startposition); }
640
if (ADP.IsEmpty(keyname)) { throw ADP.
ConnectionStringSyntax
(startposition); }
656
if (Char.IsControl(currentChar)) { throw ADP.
ConnectionStringSyntax
(startposition); }
667
if ('\0' == currentChar) { throw ADP.
ConnectionStringSyntax
(startposition); }
678
if ('\0' == currentChar) { throw ADP.
ConnectionStringSyntax
(startposition); }
689
if ('\0' == currentChar) { throw ADP.
ConnectionStringSyntax
(startposition); }
702
throw ADP.
ConnectionStringSyntax
(startposition); // unbalanced single quote
707
throw ADP.
ConnectionStringSyntax
(currentPosition);
721
throw ADP.
ConnectionStringSyntax
(startposition);
726
if (ADP.IsEmpty(keyname)) { throw ADP.
ConnectionStringSyntax
(startposition); }
735
throw ADP.
ConnectionStringSyntax
(startposition); // unquoted value must not end in quote, except for odbc