49 references to SerializationFormat
netstandard (1)
netstandard.cs (1)
569
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
SerializationFormat
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
186
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
SerializationFormat
))]
System.Data.Common (47)
System\Data\DataException.cs (2)
649
public static Exception InvalidRemotingFormat(
SerializationFormat
mode) => _InvalidEnumArgumentException(mode);
650
public static Exception SerializationFormatBinaryNotSupported() => _InvalidEnumArgumentException(
SerializationFormat
.Binary);
System\Data\DataSet.cs (27)
69
private
SerializationFormat
_remotingFormat =
SerializationFormat
.Xml;
110
[DefaultValue(
SerializationFormat
.Xml)]
111
public
SerializationFormat
RemotingFormat
118
case
SerializationFormat
.Xml:
121
case
SerializationFormat
.Binary:
162
SerializationFormat
remotingFormat =
SerializationFormat
.Xml;
170
remotingFormat = (
SerializationFormat
)e.Value!;
175
return (remotingFormat ==
SerializationFormat
.Binary);
233
SerializationFormat
remotingFormat =
SerializationFormat
.Xml;
240
remotingFormat = (
SerializationFormat
)e.Value!;
268
SerializationFormat
remotingFormat =
SerializationFormat
.Xml;
277
remotingFormat = (
SerializationFormat
)e.Value!;
285
if (remotingFormat ==
SerializationFormat
.Binary &&
300
if (remotingFormat ==
SerializationFormat
.Xml && !ConstructSchema)
316
SerializationFormat
remotingFormat = RemotingFormat;
326
private void SerializeDataSet(SerializationInfo info, StreamingContext context,
SerializationFormat
remotingFormat)
332
if (
SerializationFormat
.Xml != remotingFormat)
344
if (remotingFormat !=
SerializationFormat
.Xml)
413
internal void DeserializeDataSet(SerializationInfo info, StreamingContext context,
SerializationFormat
remotingFormat, SchemaSerializationMode schemaSerializationMode)
424
private void DeserializeDataSetSchema(SerializationInfo info, StreamingContext context,
SerializationFormat
remotingFormat, SchemaSerializationMode schemaSerializationMode)
426
if (remotingFormat !=
SerializationFormat
.Xml)
486
private void DeserializeDataSetData(SerializationInfo info,
SerializationFormat
remotingFormat)
488
if (remotingFormat !=
SerializationFormat
.Xml)
System\Data\DataTable.cs (18)
156
private
SerializationFormat
_remotingFormat =
SerializationFormat
.Xml;
204
SerializationFormat
remotingFormat =
SerializationFormat
.Xml;
211
remotingFormat = (
SerializationFormat
)e.Value!;
216
if (remotingFormat ==
SerializationFormat
.Binary &&
233
SerializationFormat
remotingFormat = RemotingFormat;
241
private void SerializeDataTable(SerializationInfo info, bool isSingleTable,
SerializationFormat
remotingFormat)
246
if (
SerializationFormat
.Xml != remotingFormat)
251
if (remotingFormat !=
SerializationFormat
.Xml)
279
Debug.Assert(ds.RemotingFormat ==
SerializationFormat
.Xml, "RemotingFormat must be SerializationFormat.Xml");
306
internal void DeserializeDataTable(SerializationInfo info, bool isSingleTable,
SerializationFormat
remotingFormat)
308
if (remotingFormat !=
SerializationFormat
.Xml)
1139
[DefaultValue(
SerializationFormat
.Xml)]
1140
public
SerializationFormat
RemotingFormat
1147
case
SerializationFormat
.Xml:
1150
case
SerializationFormat
.Binary:
6484
SerializationFormat
cachedRemotingFormat = RemotingFormat;