4 instantiations of SqlChars
System.Data.Common (4)
System\Data\Common\SQLConvert.cs (1)
577return new SqlChars(((string)value).ToCharArray());
System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
111return (new SqlChars((SqlString)tmp));
System\Data\SQLTypes\SQLChars.cs (2)
415return new SqlChars(value); 548return new SqlChars((char[]?)null);
28 references to SqlChars
netstandard (1)
netstandard.cs (1)
577[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.SqlTypes.SqlChars))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
233[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.SqlTypes.SqlChars))]
System.Data.Common (26)
System\Data\ColumnTypeConverter.cs (1)
52typeof(SqlChars),
System\Data\Common\DataStorage.cs (1)
99typeof(SqlChars),
System\Data\Common\SQLConvert.cs (5)
311public static SqlChars ConvertToSqlChars(object value) 316return SqlChars.Null; 322StorageType.SqlChars => (SqlChars)value, 323_ => throw ExceptionBuilder.ConvertFailed(valueType, typeof(SqlChars)), 665return new string(((SqlChars)value).Value);
System\Data\Common\SQLTypes\SQLCharsStorage.cs (12)
16private SqlChars[] _values = default!; // Late-initialized 19: base(column, typeof(SqlChars), SqlChars.Null, SqlChars.Null, StorageType.SqlChars) 48throw ExprException.Overflow(typeof(SqlChars)); 84_values[record] = SqlChars.Null; 88_values[record] = (SqlChars)value; 118Debug.Assert((value.GetType() == typeof(SqlChars)), "wrong input type"); 131return new SqlChars[recordCount]; 136SqlChars[] typedStore = (SqlChars[])store; 143_values = (SqlChars[])store;
System\Data\SQLTypes\SQLChars.cs (5)
407public static explicit operator SqlString(SqlChars value) 413public static explicit operator SqlChars(SqlString value) 544public static SqlChars Null 562private readonly SqlChars _sqlchars; // the SqlChars object 569internal SqlStreamChars(SqlChars s)
System\Data\TypeLimiter.cs (1)
155typeof(SqlChars),
System\Data\xmlsaver.cs (1)
271if (type == typeof(string) || type == typeof(SqlGuid) || type == typeof(SqlString) || type == typeof(SqlChars))