2 instantiations of SqlCachedBuffer
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (2)
28
public static readonly SqlCachedBuffer Null = new
SqlCachedBuffer
();
83
buffer = new
SqlCachedBuffer
(cachedBytes);
19 references to SqlCachedBuffer
System.Data (19)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (10)
318
return ((
SqlCachedBuffer
)(_object)).ToString();
466
internal
SqlCachedBuffer
SqlCachedBuffer {
470
return
SqlCachedBuffer
.Null;
472
return (
SqlCachedBuffer
)_object;
474
return (
SqlCachedBuffer
)this.SqlValue; // anything else we haven't thought of goes through boxing.
630
SqlCachedBuffer
data = (
SqlCachedBuffer
)(_object);
657
SqlCachedBuffer
data = (
SqlCachedBuffer
)(_object);
720
return ((
SqlCachedBuffer
)(_object)).ToString();
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
1434
Debug.Assert((value is XmlReader) || (value is
SqlCachedBuffer
) || (value is string) || (value is SqlString) || (value is XmlDataFeed), "Invalid value type of Xml datatype");
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (2)
28
public static readonly
SqlCachedBuffer
Null = new SqlCachedBuffer();
46
static internal bool TryCreate(SqlMetaDataPriv metadata, TdsParser parser, TdsParserStateObject stateObj, out
SqlCachedBuffer
buffer) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
5258
SqlCachedBuffer
cachedBuffer = (thisParam.Value as
SqlCachedBuffer
);
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
277
internal SqlCachedStream(
SqlCachedBuffer
sqlBuf ) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
4860
nullVal.SqlCachedBuffer =
SqlCachedBuffer
.Null;
5381
SqlCachedBuffer
sqlBuf;
5382
if (!
SqlCachedBuffer
.TryCreate(md, this, stateObj, out sqlBuf)) {