29 instantiations of StreamingContext
System.Data.Common (2)
System\Data\DataSet.cs (2)
360
BinaryFormatter bf = new BinaryFormatter(null, new
StreamingContext
(context.State, false));
444
BinaryFormatter bf = new BinaryFormatter(null, new
StreamingContext
(context.State, false));
System.Formats.Nrbf (1)
System\Formats\Nrbf\Utils\BinaryReaderExtensions.cs (1)
191
baseDateTime = CallPrivateSerializationConstructor(si, new
StreamingContext
(StreamingContextStates.All));
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
23
: base(serializer, serializer.MaxItemsInObjectGraph, new
StreamingContext
(StreamingContextStates.All), serializer.IgnoreExtensionDataObject)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
29
: base(serializer, serializer.MaxItemsInObjectGraph, new
StreamingContext
(StreamingContextStates.All), serializer.IgnoreExtensionDataObject)
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
52
new
StreamingContext
(StreamingContextStates.All),
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\Deserializer\DeserializationOptions.cs (1)
37
public StreamingContext StreamingContext { get; set; } =
new
(StreamingContextStates.All);
System.Resources.Extensions (1)
System\Resources\Extensions\BinaryFormat\BinaryFormattedObject.Options.cs (1)
33
public StreamingContext StreamingContext { get; set; } =
new
(StreamingContextStates.All);
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\Formatters\Binary\BinaryFormatter.cs (1)
23
public BinaryFormatter() : this(null, new
StreamingContext
(StreamingContextStates.All))
System\Runtime\Serialization\FormatterServices.cs (1)
169
return GetSerializableMembers(type, new
StreamingContext
(StreamingContextStates.All));
System.Xaml.Tests (16)
System\Xaml\XamlDuplicateMemberExceptionTests.cs (2)
85
Assert.Throws<ArgumentNullException>("info", () => new SubXamlDuplicateMemberException(null!, new
StreamingContext
()));
92
Assert.Throws<ArgumentNullException>("info", () => exception.GetObjectData(null, new
StreamingContext
()));
System\Xaml\XamlExceptionTests.cs (2)
75
Assert.Throws<ArgumentNullException>("info", () => new SubXamlException(null!, new
StreamingContext
()));
82
Assert.Throws<ArgumentNullException>("info", () => exception.GetObjectData(null, new
StreamingContext
()));
System\Xaml\XamlInternalExceptionTests.cs (2)
55
Assert.Throws<ArgumentNullException>("info", () => new SubXamlInternalException(null!, new
StreamingContext
()));
62
Assert.Throws<ArgumentNullException>("info", () => exception.GetObjectData(null, new
StreamingContext
()));
System\Xaml\XamlObjectReaderExceptionTests.cs (2)
55
Assert.Throws<ArgumentNullException>("info", () => new SubXamlObjectReaderException(null!, new
StreamingContext
()));
62
Assert.Throws<ArgumentNullException>("info", () => exception.GetObjectData(null, new
StreamingContext
()));
System\Xaml\XamlObjectWriterExceptionTests.cs (2)
55
Assert.Throws<ArgumentNullException>("info", () => new SubXamlObjectWriterException(null!, new
StreamingContext
()));
62
Assert.Throws<ArgumentNullException>("info", () => exception.GetObjectData(null, new
StreamingContext
()));
System\Xaml\XamlParseExceptionTests.cs (2)
55
Assert.Throws<ArgumentNullException>("info", () => new SubXamlParseException(null!, new
StreamingContext
()));
62
Assert.Throws<ArgumentNullException>("info", () => exception.GetObjectData(null, new
StreamingContext
()));
System\Xaml\XamlSchemaExceptionTests.cs (2)
55
Assert.Throws<ArgumentNullException>("info", () => new SubXamlSchemaException(null!, new
StreamingContext
()));
62
Assert.Throws<ArgumentNullException>("info", () => exception.GetObjectData(null, new
StreamingContext
()));
System\Xaml\XamlXmlWriterExceptionTests.cs (2)
55
Assert.Throws<ArgumentNullException>("info", () => new SubXamlXmlWriterException(null!, new
StreamingContext
()));
62
Assert.Throws<ArgumentNullException>("info", () => exception.GetObjectData(null, new
StreamingContext
()));
WindowsBase.Tests (3)
System\Security\RightsManagement\RightsManagementExceptionTests.cs (3)
221
var exception = new SubRightsManagementException(info, new
StreamingContext
());
241
var context = new
StreamingContext
();
257
var context = new
StreamingContext
();
819 references to StreamingContext
ComDisabled.Tests (2)
Control.ActiveXImplTests.cs (2)
51
public readonly void GetObjectData(SerializationInfo info,
StreamingContext
context)
56
private SerializableStruct(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
dotnet-svcutil.xmlserializer (2)
Microsoft\Tools\ServiceModel\SvcUtil\ToolArgumentException.cs (1)
35
protected ToolArgumentException(SerializationInfo info,
StreamingContext
context) : base(info, context)
Microsoft\Tools\ServiceModel\SvcUtil\ToolRuntimeException.cs (1)
34
protected ToolRuntimeException(SerializationInfo info,
StreamingContext
context)
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
http2cat (4)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
IIS.FunctionalTests (4)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
IIS.LongTests (4)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
IIS.NewHandler.FunctionalTests (4)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
IIS.NewShim.FunctionalTests (4)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
IISExpress.FunctionalTests (4)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
Metrics (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Metrics.Legacy (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.AspNetCore.Components (3)
src\Http\Routing\src\Patterns\RoutePatternException.cs (3)
20
private RoutePatternException(SerializationInfo info,
StreamingContext
context)
49
/// <param name="context">The destination (<see cref="
StreamingContext
" />) for this serialization.</param>
51
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
Microsoft.AspNetCore.Components.Server (1)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackSerializationException.cs (1)
53
System.Runtime.Serialization.
StreamingContext
context)
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\AmbiguousActionException.cs (1)
31
protected AmbiguousActionException(SerializationInfo info,
StreamingContext
context)
Microsoft.AspNetCore.Routing (4)
Matching\AmbiguousMatchException.cs (1)
20
internal AmbiguousMatchException(SerializationInfo info,
StreamingContext
context)
Patterns\RoutePatternException.cs (3)
20
private RoutePatternException(SerializationInfo info,
StreamingContext
context)
49
/// <param name="context">The destination (<see cref="
StreamingContext
" />) for this serialization.</param>
51
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
Microsoft.AspNetCore.Server.Kestrel.Core (6)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
src\Shared\runtime\Http3\QPack\QPackDecodingException.cs (1)
27
private QPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http3\QPack\QPackEncodingException.cs (1)
24
private QPackEncodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
Microsoft.AspNetCore.Shared.Tests (6)
src\Shared\runtime\Http2\Hpack\HPackDecodingException.cs (1)
27
public HPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http2\Hpack\HuffmanDecodingException.cs (3)
25
private HuffmanDecodingException(SerializationInfo info,
StreamingContext
context)
33
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
42
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
src\Shared\runtime\Http3\QPack\QPackDecodingException.cs (1)
27
private QPackDecodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\Shared\runtime\Http3\QPack\QPackEncodingException.cs (1)
24
private QPackEncodingException(SerializationInfo info,
StreamingContext
context) : base(info, context)
Microsoft.AspNetCore.SignalR.Common (2)
HubException.cs (2)
49
/// <param name="context">The <see cref="
StreamingContext
"/> that contains contextual information about the source or destination.</param>
57
public HubException(SerializationInfo info,
StreamingContext
context) : base(info, context)
Microsoft.Build.Framework (8)
BuildEventArgs.cs (2)
261
private void SetBuildEventContextDefaultBeforeSerialization(
StreamingContext
sc)
272
private void SetBuildEventContextDefaultAfterSerialization(
StreamingContext
sc)
BuildException\BuildExceptionBase.cs (1)
37
private protected BuildExceptionBase(SerializationInfo info,
StreamingContext
context)
InternalErrorException.cs (1)
81
private InternalErrorException(SerializationInfo info,
StreamingContext
context)
LoggerException.cs (2)
87
protected LoggerException(SerializationInfo info,
StreamingContext
context)
106
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
ProjectStartedEventArgs.cs (2)
519
private void SetDefaultsBeforeSerialization(
StreamingContext
sc)
528
private void SetDefaultsAfterSerialization(
StreamingContext
sc)
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\Engine\DkmException.cs (1)
41
protected DkmException(SerializationInfo info,
StreamingContext
context)
Microsoft.CodeAnalysis.Extensions.Package (1)
Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\ThrowingDiagnosticAnalyzer.cs (1)
32
protected DeliberateException(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Microsoft.CSharp (6)
Microsoft\CSharp\RuntimeBinder\DynamicDebuggerProxy.cs (2)
27
private DynamicBindingFailedException(SerializationInfo info,
StreamingContext
context)
488
private DynamicDebugViewEmptyException(SerializationInfo info,
StreamingContext
context)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderException.cs (2)
49
/// <param name="context">The <see cref="
StreamingContext
"/> that contains contextual information about the source or destination.</param>
52
protected RuntimeBinderException(SerializationInfo info,
StreamingContext
context)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderInternalCompilerException.cs (2)
49
/// <param name="context">The <see cref="
StreamingContext
"/> that contains contextual information about the source or destination.</param>
52
protected RuntimeBinderInternalCompilerException(SerializationInfo info,
StreamingContext
context)
Microsoft.DotNet.Helix.Client (4)
generated-code\HelixApi.cs (4)
339
protected RestApiException(SerializationInfo info,
StreamingContext
context)
351
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
381
protected RestApiException(SerializationInfo info,
StreamingContext
context)
390
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
Microsoft.Extensions.Hosting.Abstractions (1)
HostAbortedException.cs (1)
17
private HostAbortedException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
Microsoft.Maui (1)
Platform\HandlerNotFoundException.cs (1)
31
protected HandlerNotFoundException(SerializationInfo info,
StreamingContext
context) : base(info, context)
Microsoft.Maui.Controls (3)
InvalidNavigationException.cs (1)
31
protected InvalidNavigationException(SerializationInfo info,
StreamingContext
context)
UnsolvableConstraintsException.cs (1)
30
protected UnsolvableConstraintsException(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.
StreamingContext
context)
XamlParseException.cs (1)
34
protected XamlParseException(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.
StreamingContext
context)
Microsoft.Maui.Controls.Build.Tasks (1)
BuildException.cs (1)
26
protected BuildException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context)
Microsoft.Maui.Controls.SourceGen (1)
src\Controls\src\Core\XamlParseException.cs (1)
34
protected XamlParseException(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.
StreamingContext
context)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
771
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.
StreamingContext
))]
netstandard (1)
netstandard.cs (1)
1800
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.
StreamingContext
))]
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParseException.cs (2)
226
StreamingContext
context
250
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
PresentationCore (2)
System\Windows\Media\Animation\AnimationException.cs (1)
52
private AnimationException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Windows\Media\InvalidWMPVersionException.cs (1)
41
protected InvalidWmpVersionException(SerializationInfo info,
StreamingContext
context) : base(info, context)
PresentationFramework (20)
MS\Internal\AppModel\Journaling.cs (9)
153
protected JournalEntryUri(SerializationInfo info,
StreamingContext
context) : base(info, context)
261
protected JournalEntryPageFunction(SerializationInfo info,
StreamingContext
context)
271
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
497
protected JournalEntryPageFunctionSaver(SerializationInfo info,
StreamingContext
context)
506
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
626
protected JournalEntryPageFunctionType(SerializationInfo info,
StreamingContext
context)
635
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
741
protected JournalEntryPageFunctionUri(SerializationInfo info,
StreamingContext
context)
750
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
MS\Internal\PtsHost\Pts.cs (1)
270
System.Runtime.Serialization.
StreamingContext
context
System\Windows\Controls\PrintDialogException.cs (1)
61
StreamingContext
context
System\Windows\Data\ValueUnavailableException.cs (1)
49
System.Runtime.Serialization.
StreamingContext
context) : base(info, context)
System\Windows\Markup\XamlParseException.cs (2)
226
StreamingContext
context
250
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Windows\Navigation\Journal.cs (2)
47
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
57
private Journal(SerializationInfo info,
StreamingContext
context)
System\Windows\Navigation\JournalEntry.cs (2)
93
protected JournalEntry(SerializationInfo info,
StreamingContext
context)
107
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Windows\ResourceReferenceKeyNotFoundException.cs (2)
39
protected ResourceReferenceKeyNotFoundException(SerializationInfo info,
StreamingContext
context) : base(info, context)
64
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
PresentationUI (1)
MS\Internal\Documents\Application\XpsViewerException.cs (1)
65
protected XpsViewerException(SerializationInfo info,
StreamingContext
context)
ReachFramework (16)
Exceptions\XpsException.cs (1)
62
StreamingContext
context
Exceptions\XpsPackagingException.cs (1)
60
StreamingContext
context
Exceptions\XpsSerializationException.cs (1)
60
StreamingContext
context
PrintSystemExceptions\PrintSystemException.cs (13)
148
System.Runtime.Serialization.
StreamingContext
context
204
System.Runtime.Serialization.
StreamingContext
context
403
System.Runtime.Serialization.
StreamingContext
context
465
System.Runtime.Serialization.
StreamingContext
context
567
System.Runtime.Serialization.
StreamingContext
context
615
System.Runtime.Serialization.
StreamingContext
context
718
System.Runtime.Serialization.
StreamingContext
context
797
System.Runtime.Serialization.
StreamingContext
context
923
System.Runtime.Serialization.
StreamingContext
context
1051
System.Runtime.Serialization.
StreamingContext
context
1224
System.Runtime.Serialization.
StreamingContext
context
1273
System.Runtime.Serialization.
StreamingContext
context
1292
System.Runtime.Serialization.
StreamingContext
context
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
System.Collections (10)
System\Collections\Generic\LinkedList.cs (3)
44
protected LinkedList(SerializationInfo info,
StreamingContext
context)
326
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
574
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Collections\Generic\SortedDictionary.cs (1)
889
private TreeSet(SerializationInfo siInfo,
StreamingContext
context) : base(siInfo, context) { }
System\Collections\Generic\SortedSet.cs (4)
131
protected SortedSet(SerializationInfo info,
StreamingContext
context) => siInfo = info;
1531
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context) => GetObjectData(info, context);
1533
protected virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
1861
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Collections\Generic\SortedSet.TreeSubSet.cs (2)
363
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context) => GetObjectData(info, context);
365
protected override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Collections.Specialized (5)
System\Collections\Specialized\NameObjectCollectionBase.cs (2)
83
protected NameObjectCollectionBase(SerializationInfo info,
StreamingContext
context)
90
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Collections\Specialized\NameValueCollection.cs (1)
95
protected NameValueCollection(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Collections\Specialized\OrderedDictionary.cs (2)
70
protected OrderedDictionary(SerializationInfo info,
StreamingContext
context)
384
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\ValidationException.cs (1)
80
protected ValidationException(SerializationInfo info,
StreamingContext
context)
System.ComponentModel.Composition (8)
System\ComponentModel\Composition\CompositionContractMismatchException.cs (2)
68
/// The <see cref="
StreamingContext
"/> that contains contextual information about the
84
protected CompositionContractMismatchException(SerializationInfo info,
StreamingContext
context)
System\ComponentModel\Composition\ImportCardinalityMismatchException.cs (2)
71
/// The <see cref="
StreamingContext
"/> that contains contextual information about the
87
protected ImportCardinalityMismatchException(SerializationInfo info,
StreamingContext
context)
System\ComponentModel\Composition\Primitives\ComposablePartException.cs (4)
38
/// The <see cref="
StreamingContext
"/> that contains contextual information about the
54
protected ComposablePartException(SerializationInfo info,
StreamingContext
context) : base(info, context)
161
/// The <see cref="
StreamingContext
"/> that contains contextual information about the
171
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.ComponentModel.Primitives (2)
System\ComponentModel\InvalidAsynchronousStateException.cs (1)
44
protected InvalidAsynchronousStateException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\ComponentModel\InvalidEnumArgumentException.cs (1)
62
protected InvalidEnumArgumentException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System.ComponentModel.TypeConverter (5)
System\ComponentModel\Design\CheckoutException.cs (1)
56
protected CheckoutException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\ComponentModel\LicenseException.cs (2)
63
protected LicenseException(SerializationInfo info,
StreamingContext
context) : base(info, context)
77
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\ComponentModel\WarningException.cs (2)
64
protected WarningException(SerializationInfo info,
StreamingContext
context) : base(info, context)
82
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Configuration.ConfigurationManager (10)
System\Configuration\ConfigurationErrorsException.cs (2)
108
protected ConfigurationErrorsException(SerializationInfo info,
StreamingContext
context) :
203
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Configuration\ConfigurationException.cs (2)
31
protected ConfigurationException(SerializationInfo info,
StreamingContext
context)
102
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Configuration\Provider\ProviderException.cs (1)
27
protected ProviderException(SerializationInfo info,
StreamingContext
context)
System\Configuration\SettingsAttributeDictionary.cs (1)
15
protected SettingsAttributeDictionary(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System\Configuration\SettingsContext.cs (1)
13
protected SettingsContext(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System\Configuration\SettingsPropertyIsReadOnlyException.cs (1)
27
protected SettingsPropertyIsReadOnlyException(SerializationInfo info,
StreamingContext
context)
System\Configuration\SettingsPropertyNotFoundException.cs (1)
27
protected SettingsPropertyNotFoundException(SerializationInfo info,
StreamingContext
context)
System\Configuration\SettingsPropertyWrongTypeException.cs (1)
27
protected SettingsPropertyWrongTypeException(SerializationInfo info,
StreamingContext
context)
System.Data.Common (44)
System\Data\Common\DbException.cs (1)
22
protected DbException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) : base(info, context)
System\Data\DataException.cs (11)
17
protected DataException(SerializationInfo info,
StreamingContext
context) : base(info, context)
40
protected ConstraintException(SerializationInfo info,
StreamingContext
context) : base(info, context)
66
protected DeletedRowInaccessibleException(SerializationInfo info,
StreamingContext
context) : base(info, context)
98
protected DuplicateNameException(SerializationInfo info,
StreamingContext
context) : base(info, context)
124
protected InRowChangingEventException(SerializationInfo info,
StreamingContext
context) : base(info, context)
150
protected InvalidConstraintException(SerializationInfo info,
StreamingContext
context) : base(info, context)
176
protected MissingPrimaryKeyException(SerializationInfo info,
StreamingContext
context) : base(info, context)
202
protected NoNullAllowedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
228
protected ReadOnlyException(SerializationInfo info,
StreamingContext
context) : base(info, context)
254
protected RowNotInTableException(SerializationInfo info,
StreamingContext
context) : base(info, context)
280
protected VersionNotFoundException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Data\DataSet.cs (9)
158
protected bool IsBinarySerialized(SerializationInfo info,
StreamingContext
context)
180
protected SchemaSerializationMode DetermineSchemaSerializationMode(SerializationInfo info,
StreamingContext
context)
230
protected void GetSerializationData(SerializationInfo info,
StreamingContext
context)
256
protected DataSet(SerializationInfo info,
StreamingContext
context) : this(info, context, true)
266
protected DataSet(SerializationInfo info,
StreamingContext
context, bool ConstructSchema) : this()
314
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
326
private void SerializeDataSet(SerializationInfo info,
StreamingContext
context, SerializationFormat remotingFormat)
413
internal void DeserializeDataSet(SerializationInfo info,
StreamingContext
context, SerializationFormat remotingFormat, SchemaSerializationMode schemaSerializationMode)
424
private void DeserializeDataSetSchema(SerializationInfo info,
StreamingContext
context, SerializationFormat remotingFormat, SchemaSerializationMode schemaSerializationMode)
System\Data\DataTable.cs (2)
201
protected DataTable(SerializationInfo info,
StreamingContext
context) : this()
231
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Data\DBConcurrencyException.cs (2)
36
private DBConcurrencyException(SerializationInfo info,
StreamingContext
context) : base(info, context)
42
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Data\Filter\FilterException.cs (3)
17
protected InvalidExpressionException(SerializationInfo info,
StreamingContext
context)
34
protected EvaluateException(SerializationInfo info,
StreamingContext
context)
51
protected SyntaxErrorException(SerializationInfo info,
StreamingContext
context)
System\Data\PropertyCollection.cs (1)
24
protected PropertyCollection(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Data\SimpleType.cs (1)
45
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Data\SQLTypes\SQLBytes.cs (1)
581
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Data\SQLTypes\SQLChars.cs (1)
533
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Data\SQLTypes\SQLGuid.cs (2)
57
private SqlGuid(SerializationInfo info,
StreamingContext
context)
66
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Data\SQLTypes\SQLUtility.cs (8)
47
protected SqlTypeException(SerializationInfo si,
StreamingContext
sc) : base(SqlTypeExceptionSerialization(si, sc), sc)
52
private static SerializationInfo SqlTypeExceptionSerialization(SerializationInfo? si,
StreamingContext
sc)
85
private SqlNullValueException(SerializationInfo si,
StreamingContext
sc) : base(SqlNullValueExceptionSerialization(si, sc), sc)
90
private static SerializationInfo SqlNullValueExceptionSerialization(SerializationInfo si,
StreamingContext
sc)
123
private SqlTruncateException(SerializationInfo si,
StreamingContext
sc) : base(SqlTruncateExceptionSerialization(si, sc), sc)
128
private static SerializationInfo SqlTruncateExceptionSerialization(SerializationInfo si,
StreamingContext
sc)
160
private SqlNotFilledException(SerializationInfo si,
StreamingContext
sc) : base(si, sc)
185
private SqlAlreadyFilledException(SerializationInfo si,
StreamingContext
sc) : base(si, sc)
System\Data\StrongTypingException.cs (1)
18
protected StrongTypingException(SerializationInfo info,
StreamingContext
context)
System\Data\TypedTableBase.cs (1)
38
protected TypedTableBase(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context)
System.Data.Odbc (2)
System\Data\Odbc\OdbcException.cs (2)
41
private OdbcException(SerializationInfo si,
StreamingContext
sc) : base(si, sc)
60
public override void GetObjectData(SerializationInfo si,
StreamingContext
context)
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
266
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
System.Diagnostics.EventLog (7)
artifacts\obj\System.Diagnostics.EventLog\Debug\net10.0\System.Diagnostics.EventLog.notsupported.cs (7)
121
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
234
protected EventLogException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
242
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
263
protected EventLogInvalidDataException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
293
protected EventLogNotFoundException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
310
protected EventLogProviderDisabledException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
346
protected EventLogReadingException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); }
System.DirectoryServices (13)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (13)
262
protected DirectoryServicesCOMException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
271
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
546
protected ActiveDirectoryObjectExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
557
protected ActiveDirectoryObjectNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
567
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
576
protected ActiveDirectoryOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
586
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
750
protected ActiveDirectoryServerDownException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
762
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
1318
protected ForestTrustCollisionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
1327
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
1710
protected SyncFromAllServersOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
1719
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
System.DirectoryServices.AccountManagement (10)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (10)
158
protected MultipleMatchesException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
169
protected NoMatchingPrincipalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
180
protected PasswordException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
283
protected PrincipalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
292
protected PrincipalExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context){ throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
303
protected PrincipalOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
313
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
341
protected PrincipalServerDownException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) : base (default(System.Runtime.Serialization.SerializationInfo), default(System.Runtime.Serialization.
StreamingContext
)) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
351
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.DirectoryServices.Protocols (7)
artifacts\obj\System.DirectoryServices.Protocols\Debug\net10.0\System.DirectoryServices.Protocols.notsupported.cs (7)
53
protected BerConversionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesProtocols_PlatformNotSupported); }
201
protected DirectoryException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesProtocols_PlatformNotSupported); }
227
protected DirectoryOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesProtocols_PlatformNotSupported); }
235
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesProtocols_PlatformNotSupported); }
368
protected LdapException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesProtocols_PlatformNotSupported); }
378
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesProtocols_PlatformNotSupported); }
742
protected TlsOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesProtocols_PlatformNotSupported); }
System.Drawing.Common (5)
Special\NotSupported.cs (5)
359
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
721
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
805
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2711
protected InvalidPrinterException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2712
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnContentException.cs (1)
62
protected AsnContentException(SerializationInfo info,
StreamingContext
context)
System.Formats.Cbor (1)
System\Formats\Cbor\CborContentException.cs (1)
44
protected CborContentException(SerializationInfo info,
StreamingContext
context)
System.Formats.Nrbf (1)
System\Formats\Nrbf\Utils\BinaryReaderExtensions.cs (1)
211
extern static DateTime CallPrivateSerializationConstructor(SerializationInfo si,
StreamingContext
ct);
System.IO.FileSystem.DriveInfo (2)
System\IO\DriveInfo.cs (1)
19
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\IO\DriveNotFoundException.cs (1)
34
protected DriveNotFoundException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System.IO.FileSystem.Watcher (1)
System\IO\InternalBufferOverflowException.cs (1)
43
protected InternalBufferOverflowException(SerializationInfo info,
StreamingContext
context)
System.IO.IsolatedStorage (1)
System\IO\IsolatedStorage\IsolatedStorageException.cs (1)
40
protected IsolatedStorageException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System.IO.Packaging (2)
System\IO\Packaging\FileFormatException.cs (2)
120
protected FileFormatException(SerializationInfo info,
StreamingContext
context) : base(info, context)
136
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Linq.Expressions (1)
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
204
internal RethrowException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
System.Management (10)
artifacts\obj\System.Management\Debug\net10.0\System.Management.notsupported.cs (10)
143
protected ManagementBaseObject(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
154
protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
163
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
175
protected ManagementClass(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
189
protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
249
protected ManagementException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
258
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
267
protected ManagementNamedValueCollection(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
284
protected ManagementObject(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
309
protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
System.Net.HttpListener (1)
System\Net\HttpListenerException.cs (1)
31
protected HttpListenerException(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System.Net.Mail (6)
System\Net\Mail\SmtpException.cs (2)
98
protected SmtpException(SerializationInfo serializationInfo,
StreamingContext
streamingContext) : base(serializationInfo, streamingContext)
114
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System\Net\Mail\SmtpFailedRecipientException.cs (2)
29
protected SmtpFailedRecipientException(SerializationInfo info,
StreamingContext
context) : base(info, context)
59
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System\Net\Mail\SmtpFailedRecipientsException.cs (2)
35
protected SmtpFailedRecipientsException(SerializationInfo info,
StreamingContext
context) : base(info, context)
68
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System.Net.NetworkInformation (1)
artifacts\obj\System.Net.NetworkInformation\Debug\net10.0\System.Net.NetworkInformation.notsupported.cs (1)
418
protected NetworkInformationException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetNetworkInformation_PlatformNotSupported); }
System.Net.Ping (1)
System\Net\NetworkInformation\PingException.cs (1)
25
protected PingException(SerializationInfo serializationInfo,
StreamingContext
streamingContext) :
System.Net.Primitives (4)
artifacts\obj\System.Net.Primitives\Debug\net10.0\System.Net.Primitives.notsupported.cs (4)
96
protected CookieException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetPrimitives); }
99
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetPrimitives); }
100
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetPrimitives); }
533
protected SocketException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetPrimitives); }
System.Net.Requests (24)
artifacts\obj\System.Net.Requests\Debug\net10.0\System.Net.Requests.notsupported.cs (24)
37
protected FileWebRequest(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
55
protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
61
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
67
protected FileWebResponse(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
75
protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
78
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
183
protected HttpWebRequest(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
244
protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
249
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
258
protected HttpWebResponse(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
277
protected override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
281
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
303
protected ProtocolViolationException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
307
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
308
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
315
protected WebException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
324
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
325
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
357
protected WebRequest(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
391
protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
399
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
439
protected WebResponse(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
451
protected virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
454
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
System.Net.Security (4)
artifacts\obj\System.Net.Security\Debug\net10.0\System.Net.Security.notsupported.cs (2)
698
protected AuthenticationException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }
707
protected InvalidCredentialException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicy.cs (2)
73
protected ExtendedProtectionPolicy(SerializationInfo info,
StreamingContext
context)
78
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Net.WebHeaderCollection (3)
System\Net\WebHeaderCollection.cs (3)
34
protected WebHeaderCollection(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
142
public override void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
147
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System.Net.WebProxy (3)
System\Net\WebProxy.cs (3)
207
protected WebProxy(SerializationInfo serializationInfo,
StreamingContext
streamingContext) =>
210
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext) =>
213
protected virtual void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext) =>
System.Net.WebSockets (1)
artifacts\obj\System.Net.WebSockets\Debug\net10.0\System.Net.WebSockets.notsupported.cs (1)
141
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WebSockets); }
System.ObjectModel (2)
System\Collections\ObjectModel\ObservableCollection.cs (2)
279
private void OnSerializing(
StreamingContext
context)
286
private void OnDeserialized(
StreamingContext
context)
System.Private.CoreLib (207)
src\libraries\System.Private.CoreLib\src\System\AccessViolationException.cs (1)
37
protected AccessViolationException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (4)
184
/// <param name="context">The <see cref="
StreamingContext
"/> that
190
protected AggregateException(SerializationInfo info,
StreamingContext
context) :
203
/// <param name="context">The <see cref="
StreamingContext
"/> that
208
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\AppDomainUnloadedException.cs (1)
34
protected AppDomainUnloadedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\ApplicationException.cs (1)
49
protected ApplicationException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\ArgumentException.cs (2)
59
protected ArgumentException(SerializationInfo info,
StreamingContext
context)
67
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\ArgumentNullException.cs (1)
47
protected ArgumentNullException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\ArgumentOutOfRangeException.cs (2)
57
protected ArgumentOutOfRangeException(SerializationInfo info,
StreamingContext
context)
65
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\ArithmeticException.cs (1)
44
protected ArithmeticException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\ArrayTypeMismatchException.cs (1)
44
protected ArrayTypeMismatchException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\BadImageFormatException.cs (2)
54
protected BadImageFormatException(SerializationInfo info,
StreamingContext
context)
63
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\CannotUnloadAppDomainException.cs (1)
34
protected CannotUnloadAppDomainException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (2)
78
private BitArray(SerializationInfo info,
StreamingContext
context)
103
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Collections\Comparer.cs (2)
30
private Comparer(SerializationInfo info,
StreamingContext
context)
39
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Comparer.cs (4)
83
private NullableComparer(SerializationInfo info,
StreamingContext
context) { }
84
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
136
private EnumComparer(SerializationInfo info,
StreamingContext
context) { }
147
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (2)
185
protected Dictionary(SerializationInfo info,
StreamingContext
context)
378
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (5)
149
private NullableEqualityComparer(SerializationInfo info,
StreamingContext
context) { }
150
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
241
private EnumEqualityComparer(SerializationInfo information,
StreamingContext
context) { }
243
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
275
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (2)
136
protected HashSet(SerializationInfo info,
StreamingContext
context)
697
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\KeyNotFoundException.cs (1)
34
protected KeyNotFoundException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\NonRandomizedStringEqualityComparer.cs (2)
38
protected NonRandomizedStringEqualityComparer(SerializationInfo information,
StreamingContext
context)
68
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (3)
369
protected Hashtable(SerializationInfo info,
StreamingContext
context)
1025
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
1259
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\ComponentModel\Win32Exception.cs (2)
63
protected Win32Exception(SerializationInfo info,
StreamingContext
context) : base(info, context)
70
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Context.cs (1)
34
protected ContextMarshalException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\DataMisalignedException.cs (1)
37
private DataMisalignedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (2)
821
private DateTime(SerializationInfo info,
StreamingContext
context)
1289
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (2)
626
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
634
private DateTimeOffset(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\DBNull.cs (1)
20
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
199
private Decimal(SerializationInfo info,
StreamingContext
context)
208
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Delegate.cs (1)
154
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context) => throw new PlatformNotSupportedException();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\ContractException.cs (2)
39
private ContractException(SerializationInfo info,
StreamingContext
context)
49
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSourceException.cs (1)
38
protected EventSourceException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
src\libraries\System.Private.CoreLib\src\System\DivideByZeroException.cs (1)
37
protected DivideByZeroException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\DllNotFoundException.cs (1)
37
protected DllNotFoundException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\DuplicateWaitObjectException.cs (1)
45
protected DuplicateWaitObjectException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\EntryPointNotFoundException.cs (1)
37
protected EntryPointNotFoundException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Exception.cs (3)
45
protected Exception(SerializationInfo info,
StreamingContext
context)
104
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
204
partial void RestoreRemoteStackTrace(SerializationInfo info,
StreamingContext
context);
src\libraries\System.Private.CoreLib\src\System\ExecutionEngineException.cs (1)
35
private ExecutionEngineException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\FieldAccessException.cs (1)
37
protected FieldAccessException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\FormatException.cs (1)
37
protected FormatException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (3)
185
private void OnDeserializing(
StreamingContext
ctx)
198
private void OnDeserialized(
StreamingContext
ctx)
218
private void OnSerializing(
StreamingContext
ctx)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureNotFoundException.cs (2)
63
protected CultureNotFoundException(SerializationInfo info,
StreamingContext
context)
72
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\IndexOutOfRangeException.cs (1)
35
private IndexOutOfRangeException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\InsufficientExecutionStackException.cs (1)
32
private InsufficientExecutionStackException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\InsufficientMemoryException.cs (1)
46
private InsufficientMemoryException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
66
private IntPtr(SerializationInfo info,
StreamingContext
context)
80
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\InvalidCastException.cs (1)
43
protected InvalidCastException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\InvalidOperationException.cs (1)
37
protected InvalidOperationException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\InvalidProgramException.cs (1)
36
private InvalidProgramException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
src\libraries\System.Private.CoreLib\src\System\InvalidTimeZoneException.cs (1)
30
protected InvalidTimeZoneException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\IO\DirectoryNotFoundException.cs (1)
40
protected DirectoryNotFoundException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\IO\EndOfStreamException.cs (1)
34
protected EndOfStreamException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\IO\FileLoadException.cs (2)
74
protected FileLoadException(SerializationInfo info,
StreamingContext
context)
83
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (2)
96
protected FileNotFoundException(SerializationInfo info,
StreamingContext
context)
105
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\IO\FileSystemInfo.cs (2)
26
protected FileSystemInfo(SerializationInfo info,
StreamingContext
context)
39
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\IO\InvalidDataException.cs (1)
41
private InvalidDataException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\IO\IOException.cs (1)
40
protected IOException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\IO\PathTooLongException.cs (1)
34
protected PathTooLongException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\MemberAccessException.cs (1)
49
protected MemberAccessException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\MethodAccessException.cs (1)
37
protected MethodAccessException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\MissingFieldException.cs (1)
41
protected MissingFieldException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\MissingMemberException.cs (2)
41
protected MissingMemberException(SerializationInfo info,
StreamingContext
context)
51
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\MissingMethodException.cs (1)
44
protected MissingMethodException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\MulticastNotSupportedException.cs (1)
37
private MulticastNotSupportedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\NotFiniteNumberException.cs (2)
58
protected NotFiniteNumberException(SerializationInfo info,
StreamingContext
context) : base(info, context)
65
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\NotImplementedException.cs (1)
35
protected NotImplementedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\NotSupportedException.cs (1)
38
protected NotSupportedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\NullReferenceException.cs (1)
37
protected NullReferenceException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\ObjectDisposedException.cs (2)
46
protected ObjectDisposedException(SerializationInfo info,
StreamingContext
context)
80
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\OperatingSystem.cs (1)
71
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\OperationCanceledException.cs (1)
66
protected OperationCanceledException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\OutOfMemoryException.cs (1)
43
protected OutOfMemoryException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\OverflowException.cs (1)
37
protected OverflowException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\PlatformNotSupportedException.cs (1)
37
protected PlatformNotSupportedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\RankException.cs (1)
37
protected RankException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Reflection\AmbiguousMatchException.cs (1)
32
private AmbiguousMatchException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
166
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context) { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
270
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeFormatException.cs (1)
32
protected CustomAttributeFormatException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\InvalidFilterCriteriaException.cs (1)
32
protected InvalidFilterCriteriaException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\Missing.cs (1)
14
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
143
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context) { throw NotImplemented.ByDesign; }
src\libraries\System.Private.CoreLib\src\System\Reflection\ParameterInfo.cs (1)
60
public object GetRealObject(
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (1)
55
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\ReflectionTypeLoadException.cs (2)
29
private ReflectionTypeLoadException(SerializationInfo info,
StreamingContext
context)
38
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\StrongNameKeyPair.cs (2)
21
protected StrongNameKeyPair(SerializationInfo info,
StreamingContext
context) =>
30
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context) =>
src\libraries\System.Private.CoreLib\src\System\Reflection\TargetException.cs (1)
32
protected TargetException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\TargetInvocationException.cs (1)
26
private TargetInvocationException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Reflection\TargetParameterCountException.cs (1)
32
private TargetParameterCountException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Resources\MissingManifestResourceException.cs (1)
34
protected MissingManifestResourceException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Resources\MissingSatelliteAssemblyException.cs (1)
46
protected MissingSatelliteAssemblyException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Runtime\AmbiguousImplementationException.cs (1)
32
private AmbiguousImplementationException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\RuntimeWrappedException.cs (2)
28
private RuntimeWrappedException(SerializationInfo info,
StreamingContext
context)
36
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\SwitchExpressionException.cs (2)
32
private SwitchExpressionException(SerializationInfo info,
StreamingContext
context)
47
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\COMException.cs (1)
46
protected COMException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ExternalException.cs (1)
43
protected ExternalException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\InvalidComObjectException.cs (1)
39
protected InvalidComObjectException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\InvalidOleVariantTypeException.cs (1)
38
protected InvalidOleVariantTypeException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MarshalDirectiveException.cs (1)
37
protected MarshalDirectiveException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeArrayRankMismatchException.cs (1)
38
protected SafeArrayRankMismatchException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SafeArrayTypeMismatchException.cs (1)
38
protected SafeArrayTypeMismatchException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SEHException.cs (1)
36
protected SEHException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\IObjectReference.cs (1)
9
object GetRealObject(
StreamingContext
context);
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\ISerializable.cs (1)
9
void GetObjectData(SerializationInfo info,
StreamingContext
context);
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SafeSerializationEventArgs.cs (1)
16
public
StreamingContext
StreamingContext { get; }
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationException.cs (1)
37
protected SerializationException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\StreamingContext.cs (1)
32
if (obj is
StreamingContext
ctx)
src\libraries\System.Private.CoreLib\src\System\Security\CryptographicException.cs (1)
43
protected CryptographicException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Security\SecurityException.cs (2)
57
protected SecurityException(SerializationInfo info,
StreamingContext
context)
72
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Security\VerificationException.cs (1)
34
protected VerificationException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\StackOverflowException.cs (1)
35
private StackOverflowException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (4)
240
private CultureAwareComparer(SerializationInfo info,
StreamingContext
context)
306
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
473
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
555
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\SystemException.cs (1)
34
protected SystemException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Text\DecoderExceptionFallback.cs (1)
105
private DecoderFallbackException(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
src\libraries\System.Private.CoreLib\src\System\Text\EncoderExceptionFallback.cs (1)
125
private EncoderFallbackException(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (2)
166
private StringBuilder(SerializationInfo info,
StreamingContext
context)
223
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Threading\AbandonedMutexException.cs (1)
58
protected AbandonedMutexException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Threading\CompressedStack.cs (1)
17
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
47
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Threading\LockRecursionException.cs (1)
30
protected LockRecursionException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Threading\SemaphoreFullException.cs (1)
28
protected SemaphoreFullException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Threading\SynchronizationLockException.cs (1)
37
protected SynchronizationLockException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskCanceledException.cs (2)
83
/// <param name="context">The <see cref="
StreamingContext
"/> that contains contextual information about the source or destination. </param>
86
protected TaskCanceledException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskSchedulerException.cs (2)
70
/// <param name="context">The <see cref="
StreamingContext
"/> that
74
protected TaskSchedulerException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadAbortException.cs (1)
24
private ThreadAbortException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadInterruptedException.cs (1)
43
protected ThreadInterruptedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadStartException.cs (1)
26
private ThreadStartException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadStateException.cs (1)
37
protected ThreadStateException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandleCannotBeOpenedException.cs (1)
31
protected WaitHandleCannotBeOpenedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\TimeoutException.cs (1)
37
protected TimeoutException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.AdjustmentRule.cs (2)
263
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
276
private AdjustmentRule(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (2)
1144
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
1157
private TimeZoneInfo(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.TransitionTime.cs (2)
129
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
141
private TransitionTime(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\TimeZoneNotFoundException.cs (1)
30
protected TimeZoneNotFoundException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\TypeAccessException.cs (1)
36
protected TypeAccessException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\TypeInitializationException.cs (2)
48
private TypeInitializationException(SerializationInfo info,
StreamingContext
context)
56
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\TypeLoadException.cs (2)
54
protected TypeLoadException(SerializationInfo info,
StreamingContext
context) : base(info, context)
64
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\TypeUnloadedException.cs (1)
34
protected TypeUnloadedException(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (2)
65
private UIntPtr(SerializationInfo info,
StreamingContext
context)
79
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\UnauthorizedAccessException.cs (1)
37
protected UnauthorizedAccessException(SerializationInfo info,
StreamingContext
context) : base(info, context)
src\libraries\System.Private.CoreLib\src\System\UnitySerializationHolder.cs (3)
34
public UnitySerializationHolder(SerializationInfo info,
StreamingContext
context)
44
public void GetObjectData(SerializationInfo info,
StreamingContext
context) =>
47
public object GetRealObject(
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\WeakReference.cs (2)
57
protected WeakReference(SerializationInfo info,
StreamingContext
context)
69
public virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\libraries\System.Private.CoreLib\src\System\WeakReference.T.cs (2)
41
private WeakReference(SerializationInfo info,
StreamingContext
context)
68
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\System\Exception.CoreCLR.cs (2)
16
partial void RestoreRemoteStackTrace(SerializationInfo info,
StreamingContext
context)
85
private void OnDeserialized(
StreamingContext
context)
src\System\MulticastDelegate.CoreCLR.cs (1)
37
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\System\Reflection\RuntimeAssembly.cs (1)
314
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\System\Reflection\RuntimeModule.cs (1)
387
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
src\System\RuntimeHandles.cs (3)
878
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
991
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
1692
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Private.DataContractSerialization (17)
System\Runtime\Serialization\ClassDataContract.cs (1)
1278
private static Type[] SerInfoCtorArgs => s_serInfoCtorArgs ??= new Type[] { typeof(SerializationInfo), typeof(
StreamingContext
) };
System\Runtime\Serialization\Globals.cs (1)
100
s_typeOfStreamingContext ??= typeof(
StreamingContext
);
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (1)
322
public static Type[] SerInfoCtorArgs => s_serInfoCtorArgs ??= new Type[] { typeof(SerializationInfo), typeof(
StreamingContext
) };
System\Runtime\Serialization\ReflectionClassWriter.cs (2)
136
var
contextArg = context.GetStreamingContext();
147
var
contextArg = context.GetStreamingContext();
System\Runtime\Serialization\ReflectionReader.cs (3)
336
StreamingContext
streamingContext = context.GetStreamingContext();
404
var
contextArg = context.GetStreamingContext();
415
var
contextArg = context.GetStreamingContext();
System\Runtime\Serialization\XmlObjectSerializerContext.cs (4)
27
private readonly
StreamingContext
_streamingContext;
32
internal XmlObjectSerializerContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph,
StreamingContext
streamingContext, bool ignoreExtensionDataObject,
43
internal XmlObjectSerializerContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph,
StreamingContext
streamingContext, bool ignoreExtensionDataObject)
68
internal
StreamingContext
GetStreamingContext()
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
76
internal XmlObjectSerializerReadContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph,
StreamingContext
streamingContext, bool ignoreExtensionDataObject)
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
24
internal XmlObjectSerializerReadContextComplex(XmlObjectSerializer serializer, int maxItemsInObjectGraph,
StreamingContext
streamingContext, bool ignoreExtensionDataObject)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
49
internal XmlObjectSerializerWriteContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph,
StreamingContext
streamingContext, bool ignoreExtensionDataObject)
506
internal static void GetObjectData(ISerializable obj, SerializationInfo serInfo,
StreamingContext
context)
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
31
internal XmlObjectSerializerWriteContextComplex(XmlObjectSerializer serializer, int maxItemsInObjectGraph,
StreamingContext
streamingContext, bool ignoreExtensionDataObject)
System.Private.Uri (5)
System\Uri.cs (3)
455
protected Uri(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
478
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
487
protected void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System\UriFormatException.cs (2)
30
protected UriFormatException(SerializationInfo serializationInfo,
StreamingContext
streamingContext) : base(serializationInfo, streamingContext)
35
void ISerializable.GetObjectData(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System.Private.Windows.Core (14)
System\Private\Windows\BinaryFormat\Deserializer\DeserializationOptions.cs (1)
37
public
StreamingContext
StreamingContext { get; set; } = new(StreamingContextStates.All);
System\Private\Windows\BinaryFormat\Deserializer\Deserializer.cs (3)
34
/// tracking instances by stashing them in a provided <see cref="
StreamingContext
"/> to handle after invoking the
46
/// type when <see cref="ISerializable.GetObjectData(SerializationInfo,
StreamingContext
)"/> is called by invoking
96
private event Action<
StreamingContext
>? OnDeserialized;
System\Private\Windows\BinaryFormat\Deserializer\PendingSerializationInfo.cs (2)
29
internal void Populate(IDictionary<SerializationRecordId, object> objects,
StreamingContext
context)
72
&& parameters[1].ParameterType == typeof(
StreamingContext
))
System\Private\Windows\BinaryFormat\SerializationEvents.cs (8)
75
internal static Action<
StreamingContext
>? GetOnDeserializingForType(
80
internal static Action<
StreamingContext
>? GetOnDeserializedForType(
85
private Action<
StreamingContext
>? GetOnDeserialized(object obj) =>
88
private Action<
StreamingContext
>? GetOnDeserializing(object obj) =>
92
private static Action<
StreamingContext
>? AddOnDelegate(object obj, List<MethodInfo>? methods)
94
Action<
StreamingContext
>? handler = null;
100
Action<
StreamingContext
> onDeserialized =
102
method.CreateDelegate<Action<
StreamingContext
>>(obj);
System.Private.Windows.Core.Tests (1)
System\Private\Windows\Nrbf\BinaryFormatterHelpers.cs (1)
44
StreamingContext
context = default;
System.Private.Xml (19)
System\Xml\Schema\Inference\XmlSchemaInferenceException.cs (2)
21
protected XmlSchemaInferenceException(SerializationInfo info,
StreamingContext
context) : base(info, context)
27
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Xml\Schema\XmlSchemaException.cs (2)
33
protected XmlSchemaException(SerializationInfo info,
StreamingContext
context) : base(info, context)
65
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Xml\Schema\XmlSchemaValidationException.cs (2)
22
protected XmlSchemaValidationException(SerializationInfo info,
StreamingContext
context) : base(info, context)
28
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Xml\XmlException.cs (2)
36
protected XmlException(SerializationInfo info,
StreamingContext
context) : base(info, context)
73
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Xml\XPath\XPathException.cs (2)
28
protected XPathException(SerializationInfo info,
StreamingContext
context) : base(info, context)
57
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Xml\Xsl\XPath\XPathCompileException.cs (2)
30
internal XPathCompileException(SerializationInfo info,
StreamingContext
context)
40
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Xml\Xsl\XslException.cs (3)
22
public XslTransformException(SerializationInfo info,
StreamingContext
context)
117
internal XslLoadException(SerializationInfo info,
StreamingContext
context)
170
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Xml\Xslt\XsltException.cs (4)
29
protected XsltException(SerializationInfo info,
StreamingContext
context) : base(info, context)
61
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
159
protected XsltCompileException(SerializationInfo info,
StreamingContext
context) : base(info, context)
165
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Private.Xml.Linq (1)
System\Xml\Linq\XName.cs (1)
191
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Reflection.Metadata (1)
System\Reflection\Metadata\ImageFormatLimitationException.Serialization.cs (1)
17
protected ImageFormatLimitationException(SerializationInfo info,
StreamingContext
context)
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Assemblies\RoAssembly.cs (1)
202
public sealed override void GetObjectData(SerializationInfo info,
StreamingContext
context) => throw new NotSupportedException();
System\Reflection\TypeLoading\Modules\RoModule.cs (1)
79
public sealed override void GetObjectData(SerializationInfo info,
StreamingContext
context) => throw new NotSupportedException();
System.Resources.Extensions (14)
System\Resources\Extensions\BinaryFormat\BinaryFormattedObject.Options.cs (1)
33
public
StreamingContext
StreamingContext { get; set; } = new(StreamingContextStates.All);
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (3)
37
/// tracking instances by stashing them in a provided <see cref="
StreamingContext
"/> to handle after invoking the
49
/// type when <see cref="ISerializable.GetObjectData(SerializationInfo,
StreamingContext
)"/> is called by invoking
99
private event Action<
StreamingContext
>? OnDeserialized;
System\Resources\Extensions\BinaryFormat\Deserializer\PendingSerializationInfo.cs (2)
31
internal void Populate(IDictionary<SerializationRecordId, object> objects,
StreamingContext
context)
74
&& parameters[1].ParameterType == typeof(
StreamingContext
))
System\Resources\Extensions\BinaryFormat\SerializationEvents.cs (8)
77
internal static Action<
StreamingContext
>? GetOnDeserializingForType(
82
internal static Action<
StreamingContext
>? GetOnDeserializedForType(
87
private Action<
StreamingContext
>? GetOnDeserialized(object obj) =>
90
private Action<
StreamingContext
>? GetOnDeserializing(object obj) =>
94
private static Action<
StreamingContext
>? AddOnDelegate(object obj, List<MethodInfo>? methods)
96
Action<
StreamingContext
>? handler = null;
102
Action<
StreamingContext
> onDeserialized =
104
method.CreateDelegate<Action<
StreamingContext
>>(obj);
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
715
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.
StreamingContext
))]
System.Runtime.Serialization.Formatters (29)
System\Runtime\Serialization\DeserializationEventHandler.cs (1)
8
public delegate void SerializationEventHandler(
StreamingContext
context);
System\Runtime\Serialization\Formatter.cs (1)
192
public abstract
StreamingContext
Context { get; set; }
System\Runtime\Serialization\Formatters\Binary\BinaryFormatter.cs (3)
10
internal
StreamingContext
_context;
21
public
StreamingContext
Context { get { return _context; } set { _context = value; } }
27
public BinaryFormatter(ISurrogateSelector? selector,
StreamingContext
context)
System\Runtime\Serialization\FormatterServices.cs (3)
174
StreamingContext
context)
382
public void GetObjectData(object obj, SerializationInfo info,
StreamingContext
context)
387
public object SetObjectData(object obj, SerializationInfo info,
StreamingContext
context, ISurrogateSelector? selector)
System\Runtime\Serialization\IFormatter.cs (1)
22
StreamingContext
Context { get; set; }
System\Runtime\Serialization\ISerializationSurrogate.cs (2)
9
void GetObjectData(object obj, SerializationInfo info,
StreamingContext
context);
10
object SetObjectData(object obj, SerializationInfo info,
StreamingContext
context, ISurrogateSelector? selector);
System\Runtime\Serialization\ISurrogateSelector.cs (1)
10
ISerializationSurrogate? GetSurrogate(Type type,
StreamingContext
context, out ISurrogateSelector selector);
System\Runtime\Serialization\MemberHolder.cs (2)
12
internal readonly
StreamingContext
_context;
16
StreamingContext
ctx)
System\Runtime\Serialization\ObjectManager.cs (4)
30
internal readonly
StreamingContext
_context;
32
public ObjectManager(ISurrogateSelector? selector,
StreamingContext
context)
773
internal void CompleteISerializableObject(object obj, SerializationInfo? info,
StreamingContext
context)
804
parameters[1].ParameterType == typeof(
StreamingContext
))
System\Runtime\Serialization\SerializationEventsCache.cs (4)
59
internal void InvokeOnSerializing(object obj,
StreamingContext
context) =>
62
internal void InvokeOnDeserializing(object obj,
StreamingContext
context) =>
65
internal void InvokeOnDeserialized(object obj,
StreamingContext
context) =>
75
private static void InvokeOnDelegate(object obj,
StreamingContext
context, List<MethodInfo>? methods)
System\Runtime\Serialization\SerializationObjectManager.cs (2)
15
private readonly
StreamingContext
_context;
18
public SerializationObjectManager(
StreamingContext
context)
System\Runtime\Serialization\SurrogateSelector.cs (5)
15
public virtual void AddSurrogate(Type type,
StreamingContext
context, ISerializationSurrogate surrogate)
145
public virtual ISerializationSurrogate? GetSurrogate(Type type,
StreamingContext
context, out ISurrogateSelector selector)
166
public virtual void RemoveSurrogate(Type type,
StreamingContext
context)
178
internal readonly
StreamingContext
_context;
180
internal SurrogateKey(Type type,
StreamingContext
context)
System.Runtime.Serialization.Primitives (2)
System.Runtime.Serialization.Primitives.TypeForwards.cs (1)
9
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Serialization.
StreamingContext
))]
System\Runtime\Serialization\InvalidDataContractException.cs (1)
31
protected InvalidDataContractException(SerializationInfo info,
StreamingContext
context)
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1685
get { return new CodeParameterDeclarationExpression(GetCodeTypeReference(typeof(
StreamingContext
)), ImportGlobals.ContextFieldName); }
System.Security.AccessControl (1)
artifacts\obj\System.Security.AccessControl\Debug\net10.0\System.Security.AccessControl.notsupported.cs (1)
449
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
System.Security.Claims (5)
System\Security\Claims\ClaimsIdentity.cs (2)
291
protected ClaimsIdentity(SerializationInfo info,
StreamingContext
context)
1005
protected virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Security\Claims\ClaimsPrincipal.cs (3)
52
protected ClaimsPrincipal(SerializationInfo info,
StreamingContext
context)
543
private void OnSerializingMethod(
StreamingContext
context)
556
protected virtual void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Security.Cryptography (4)
artifacts\obj\System.Security.Cryptography\Debug\net10.0\System.Security.Cryptography.notsupported.cs (4)
694
protected CryptographicUnexpectedOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); }
3598
public X509Certificate(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); }
3676
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); }
3713
protected X509Certificate2(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.SystemSecurityCryptography_PlatformNotSupported); }
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\CryptoSignedXmlRecursionException.cs (1)
27
protected CryptoSignedXmlRecursionException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
System.Security.Permissions (7)
System\ApplicationIdentity.cs (1)
16
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Security\HostProtectionException.cs (2)
55
protected HostProtectionException(SerializationInfo info,
StreamingContext
context)
92
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Security\Policy\Hash.cs (1)
24
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Security\Policy\HashMembershipCondition.cs (1)
21
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Security\Policy\PolicyException.cs (1)
18
protected PolicyException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
System\Security\XmlSyntaxException.cs (1)
20
private XmlSyntaxException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
System.Security.Principal.Windows (3)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (3)
28
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
streamingContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
243
public WindowsIdentity(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
273
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
System.ServiceModel.NetNamedPipe (2)
System\IO\PipeException.cs (1)
32
protected PipeException(SerializationInfo info,
StreamingContext
context)
System\ServiceModel\AddressAccessDeniedException.cs (1)
15
protected AddressAccessDeniedException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
System.ServiceModel.Primitives (19)
netstandard.cs (19)
378
protected SecurityTokenException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
386
protected SecurityTokenValidationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
422
protected ActionNotSupportedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
470
protected ChannelTerminatedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
584
protected CommunicationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
591
protected CommunicationObjectAbortedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
598
protected CommunicationObjectFaultedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
669
protected EndpointNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
738
protected FaultException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
757
protected FaultException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
851
protected InvalidMessageContractException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
917
protected MessageHeaderException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) : base(info, context) { }
982
protected ProtocolException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
994
protected QuotaExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
1021
protected ServerTooBusyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
1027
protected ServiceActivationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
2259
protected MessageSecurityException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
2265
protected SecurityAccessDeniedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
2277
protected SecurityNegotiationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { }
System.ServiceProcess.ServiceController (1)
artifacts\obj\System.ServiceProcess.ServiceController\Debug\net10.0\System.ServiceProcess.ServiceController.notsupported.cs (1)
159
protected TimeoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_ServiceController); }
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
203
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
System.Text.Encoding.CodePages (4)
System\Text\BaseCodePageEncoding.cs (1)
81
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Text\DecoderNLS.cs (1)
40
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Text\EncoderNLS.cs (1)
42
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Text\ISCIIEncoding.cs (1)
68
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Text.Json (5)
System\Text\Json\JsonException.cs (4)
84
/// <param name="context">The <see cref="
StreamingContext
"/> that contains contextual information about the source or destination.</param>
92
protected JsonException(SerializationInfo info,
StreamingContext
context) : base(info, context)
109
/// <param name="context">The <see cref="
StreamingContext
"/> that contains contextual information about the source or destination.</param>
114
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Text\Json\Reader\JsonReaderException.cs (1)
19
private JsonReaderException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System.Text.RegularExpressions (5)
System\Text\RegularExpressions\Regex.cs (2)
175
protected Regex(SerializationInfo info,
StreamingContext
context) =>
178
void ISerializable.GetObjectData(SerializationInfo si,
StreamingContext
context) =>
System\Text\RegularExpressions\RegexMatchTimeoutException.cs (2)
56
protected RegexMatchTimeoutException(SerializationInfo info,
StreamingContext
context)
65
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Text\RegularExpressions\RegexParseException.cs (1)
39
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParseException.cs (1)
39
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System.Threading (2)
System\Threading\Barrier.cs (1)
71
protected BarrierPostPhaseException(SerializationInfo info,
StreamingContext
context)
System\Threading\ReaderWriterLock.cs (1)
1138
public ReaderWriterLockApplicationException(SerializationInfo info,
StreamingContext
context)
System.Threading.Channels (1)
System\Threading\Channels\ChannelClosedException.netcoreapp.cs (1)
22
protected ChannelClosedException(SerializationInfo info,
StreamingContext
context) :
System.Transactions.Local (19)
System\Transactions\NonWindowsUnsupported.cs (2)
67
protected OletxTransaction(SerializationInfo serializationInfo,
StreamingContext
context)
111
public void GetObjectData(SerializationInfo serializationInfo,
StreamingContext
context)
System\Transactions\Transaction.cs (1)
850
StreamingContext
context)
System\Transactions\TransactionException.cs (5)
94
protected TransactionException(SerializationInfo info,
StreamingContext
context) : base(info, context)
219
protected TransactionAbortedException(SerializationInfo info,
StreamingContext
context) : base(info, context)
282
protected TransactionInDoubtException(SerializationInfo info,
StreamingContext
context) : base(info, context)
344
protected TransactionManagerCommunicationException(SerializationInfo info,
StreamingContext
context) : base(info, context)
384
protected TransactionPromotionException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Transactions\TransactionState.cs (11)
263
internal virtual void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
597
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
1157
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
1486
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
1636
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
2005
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
3040
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
3223
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
3574
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
4111
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
4223
internal override void GetObjectData(InternalTransaction tx, SerializationInfo serializationInfo,
StreamingContext
context)
System.Windows.Extensions (2)
artifacts\obj\System.Windows.Extensions\Debug\net10.0\System.Windows.Extensions.notsupported.cs (2)
18
protected SoundPlayer(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions); }
37
void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.
StreamingContext
context) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_System_Windows_Extensions); }
System.Windows.Forms (24)
System\Resources\ResXDataNode.cs (1)
689
void ISerializable.GetObjectData(SerializationInfo si,
StreamingContext
context)
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
83
protected State(SerializationInfo info,
StreamingContext
context)
341
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Windows\Forms\Controls\ImageList\ImageListStreamer.cs (2)
24
private ImageListStreamer(SerializationInfo info,
StreamingContext
context)
86
public void GetObjectData(SerializationInfo si,
StreamingContext
context) =>
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (2)
46
private ListViewGroup(SerializationInfo info,
StreamingContext
context) : this()
470
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (4)
67
protected ListViewItem(SerializationInfo info,
StreamingContext
context)
1183
protected virtual void Deserialize(SerializationInfo info,
StreamingContext
context)
1264
protected virtual void Serialize(SerializationInfo info,
StreamingContext
context)
1350
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context) => Serialize(info, context);
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (4)
226
private static void OnDeserializing(
StreamingContext
ctx)
231
private void OnDeserialized(
StreamingContext
ctx)
238
private static void OnSerializing(
StreamingContext
ctx)
243
private static void OnSerialized(
StreamingContext
ctx)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (4)
164
protected TreeNode(SerializationInfo serializationInfo,
StreamingContext
context)
1479
protected virtual void Deserialize(SerializationInfo serializationInfo,
StreamingContext
context)
2048
protected virtual void Serialize(SerializationInfo si,
StreamingContext
context)
2221
void ISerializable.GetObjectData(SerializationInfo si,
StreamingContext
context) => Serialize(si, context);
System\Windows\Forms\Input\Cursor.cs (1)
365
void ISerializable.GetObjectData(SerializationInfo si,
StreamingContext
context)
System\Windows\Forms\OwnerDrawPropertyBag.cs (2)
18
protected OwnerDrawPropertyBag(SerializationInfo info,
StreamingContext
context)
86
void ISerializable.GetObjectData(SerializationInfo si,
StreamingContext
context)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (2)
43
private TableLayoutSettings(SerializationInfo serializationInfo,
StreamingContext
context)
467
void ISerializable.GetObjectData(SerializationInfo si,
StreamingContext
context)
System.Windows.Forms.Design (12)
System\ComponentModel\Design\ExceptionCollection.cs (1)
36
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
326
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\ComponentModel\Design\Serialization\CodeDomSerializerException.cs (1)
40
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Drawing\Design\ToolboxItem.cs (3)
312
protected virtual void Deserialize(SerializationInfo info,
StreamingContext
context)
706
protected virtual void Serialize(SerializationInfo info,
StreamingContext
context)
800
void ISerializable.GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (3)
32
private AxToolboxItem(SerializationInfo info,
StreamingContext
context)
149
protected override void Deserialize(SerializationInfo info,
StreamingContext
context)
342
protected override void Serialize(SerializationInfo info,
StreamingContext
context)
System\Windows\Forms\Design\OleDragDropHandler.CfCodeToolboxItem.cs (3)
28
private CfCodeToolboxItem(SerializationInfo info,
StreamingContext
context)
45
protected override void Serialize(SerializationInfo info,
StreamingContext
context)
57
protected override void Deserialize(SerializationInfo info,
StreamingContext
context)
System.Windows.Forms.Tests (15)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
92
public readonly object GetRealObject(
StreamingContext
context)
System\Windows\Forms\Control.ActiveXImplTests.cs (2)
90
public readonly void GetObjectData(SerializationInfo info,
StreamingContext
context)
95
private SerializableStruct(SerializationInfo serializationInfo,
StreamingContext
streamingContext)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (6)
1636
StreamingContext
context = default;
1649
StreamingContext
context = default;
1681
StreamingContext
context = default;
1717
StreamingContext
context = default;
1733
StreamingContext
context = default;
1764
StreamingContext
context = default;
System\Windows\Forms\ListViewGroupTests.cs (4)
1371
StreamingContext
context = default;
1389
StreamingContext
context = default;
1407
StreamingContext
context = default;
1423
StreamingContext
context = default;
System\Windows\Forms\TreeNodeTests.cs (2)
4952
public SubTreeNode(SerializationInfo serializationInfo,
StreamingContext
context) : base(serializationInfo, context)
4956
public new void Deserialize(SerializationInfo serializationInfo,
StreamingContext
context) => base.Deserialize(serializationInfo, context);
System.Xaml (12)
System\Xaml\Parser\GenericTypeNameParser.cs (1)
21
protected TypeNameParserException(SerializationInfo si,
StreamingContext
sc) : base(si, sc)
System\Xaml\Parser\XamlPullParser.cs (1)
1262
StreamingContext
context)
System\Xaml\XamlException.cs (10)
66
protected XamlException(SerializationInfo info,
StreamingContext
context)
77
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
110
protected XamlParseException(SerializationInfo info,
StreamingContext
context)
133
protected XamlObjectWriterException(SerializationInfo info,
StreamingContext
context)
158
protected XamlDuplicateMemberException(SerializationInfo info,
StreamingContext
context)
168
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
195
protected XamlInternalException(SerializationInfo info,
StreamingContext
context)
211
protected XamlSchemaException(SerializationInfo info,
StreamingContext
context)
232
protected XamlObjectReaderException(SerializationInfo info,
StreamingContext
context)
255
protected XamlXmlWriterException(SerializationInfo info,
StreamingContext
context)
System.Xaml.Tests (8)
System\Xaml\XamlDuplicateMemberExceptionTests.cs (1)
98
public SubXamlDuplicateMemberException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Xaml\XamlExceptionTests.cs (1)
88
public SubXamlException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Xaml\XamlInternalExceptionTests.cs (1)
68
public SubXamlInternalException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Xaml\XamlObjectReaderExceptionTests.cs (1)
68
public SubXamlObjectReaderException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
System\Xaml\XamlObjectWriterExceptionTests.cs (1)
68
public SubXamlObjectWriterException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
System\Xaml\XamlParseExceptionTests.cs (1)
68
public SubXamlParseException(SerializationInfo info,
StreamingContext
context) : base(info, context) { }
System\Xaml\XamlSchemaExceptionTests.cs (1)
68
public SubXamlSchemaException(SerializationInfo info,
StreamingContext
context) : base(info, context)
System\Xaml\XamlXmlWriterExceptionTests.cs (1)
68
public SubXamlXmlWriterException(SerializationInfo info,
StreamingContext
context) : base(info, context)
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (1)
220
=> compilation.GetTypeByMetadataName(typeof(
StreamingContext
).FullName!);
UIAutomationTypes (8)
System\Windows\Automation\ElementNotAvailableException.cs (2)
64
protected ElementNotAvailableException(SerializationInfo info,
StreamingContext
context) : base(info, context)
77
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Windows\Automation\ElementNotEnabledException.cs (2)
55
protected ElementNotEnabledException(SerializationInfo info,
StreamingContext
context) : base(info, context)
67
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Windows\Automation\NoClickablePointException.cs (2)
44
protected NoClickablePointException(SerializationInfo info,
StreamingContext
context) : base(info, context) {}
54
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
System\Windows\Automation\ProxyAssemblyNotLoadedException.cs (2)
49
protected ProxyAssemblyNotLoadedException(SerializationInfo info,
StreamingContext
context) : base(info, context) {}
59
public override void GetObjectData(SerializationInfo info,
StreamingContext
context)
WindowsBase.Tests (3)
System\Security\RightsManagement\RightsManagementExceptionTests.cs (3)
241
var
context = new StreamingContext();
257
var
context = new StreamingContext();
278
public SubRightsManagementException(SerializationInfo info,
StreamingContext
context) : base(info, context)