61 references to StreamingContextStates
mscorlib (52)
system\exception.cs (2)
117
if (context.State ==
StreamingContextStates
.CrossAppDomain)
531
StreamingContext sc = new StreamingContext(
StreamingContextStates
.All);
system\resources\resourcereader.cs (2)
861
BinaryFormatter bf = new BinaryFormatter(null, new StreamingContext(
StreamingContextStates
.File |
StreamingContextStates
.Persistence));
system\resources\resourcewriter.cs (2)
381
IFormatter objFormatter = new BinaryFormatter(null, new StreamingContext(
StreamingContextStates
.File |
StreamingContextStates
.Persistence));
system\runtime\remoting\callcontext.cs (2)
337
if (context.State ==
StreamingContextStates
.CrossAppDomain)
374
if (context.State ==
StreamingContextStates
.CrossAppDomain)
system\runtime\remoting\crossappdomainchannel.cs (5)
679
fmt.Context = new StreamingContext(
StreamingContextStates
.CrossAppDomain);
714
fmt.Context = new StreamingContext(
StreamingContextStates
.CrossAppDomain);
728
fmt.Context = new StreamingContext(
StreamingContextStates
.CrossAppDomain);
761
fmt.Context = new StreamingContext(
StreamingContextStates
.CrossAppDomain);
793
fmt.Context = new StreamingContext(
StreamingContextStates
.CrossAppDomain);
system\runtime\remoting\message.cs (3)
2985
if ((context.State ==
StreamingContextStates
.Remoting) &&
5022
if (info == null || (context.State !=
StreamingContextStates
.CrossAppDomain))
5209
if (info == null || (context.State !=
StreamingContextStates
.CrossAppDomain))
system\runtime\remoting\remotingservices.cs (3)
2411
fmt.Context = new StreamingContext(
StreamingContextStates
.Other);
2424
fmt.Context = new StreamingContext(
StreamingContextStates
.Other);
2456
fmt.Context = new StreamingContext(
StreamingContextStates
.Other);
system\runtime\serialization\formatters\binary\binaryformatter.cs (1)
99
m_context = new StreamingContext(
StreamingContextStates
.All);
system\runtime\serialization\formatterservices.cs (1)
179
return GetSerializableMembers(type, new StreamingContext(
StreamingContextStates
.All));
system\runtime\serialization\objectclonehelper.cs (1)
34
static readonly StreamingContext s_cloneContext = new StreamingContext(
StreamingContextStates
.CrossAppDomain);
system\runtime\serialization\streamingcontext.cs (4)
23
internal
StreamingContextStates
m_state;
25
public StreamingContext(
StreamingContextStates
state)
29
public StreamingContext(
StreamingContextStates
state, Object additional) {
53
public
StreamingContextStates
State {
system\security\permissions\siteidentitypermission.cs (4)
68
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
79
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
system\security\permissions\urlidentitypermission.cs (4)
71
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
82
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
system\security\permissions\zoneidentitypermission.cs (6)
57
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
79
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
89
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
system\security\permissionset.cs (4)
157
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
173
if ((context.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
system\security\util\tokenbasedset.cs (4)
67
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
88
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
system\security\util\urlstring.cs (4)
72
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
81
if ((ctx.State & ~(
StreamingContextStates
.Clone|
StreamingContextStates
.CrossAppDomain)) != 0)
System.Runtime.Remoting (2)
channels\core\corechannel.cs (2)
419
remotingFormatter.Context = new StreamingContext(
StreamingContextStates
.Other);
445
remotingFormatter.Context = new StreamingContext(
StreamingContextStates
.Other);
System.Runtime.Serialization (6)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
27
new StreamingContext(
StreamingContextStates
.All),
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
24
new StreamingContext(
StreamingContextStates
.All),
System\Runtime\Serialization\NetDataContractSerializer.cs (3)
33
: this(new StreamingContext(
StreamingContextStates
.All))
52
: this(rootName, rootNamespace, new StreamingContext(
StreamingContextStates
.All), Int32.MaxValue, false, FormatterAssemblyStyle.Full, null)
68
: this(rootName, rootNamespace, new StreamingContext(
StreamingContextStates
.All), Int32.MaxValue, false, FormatterAssemblyStyle.Full, null)
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
60
new StreamingContext(
StreamingContextStates
.All),
System.Web (1)
UI\ObjectStateFormatter.cs (1)
1225
return new StreamingContext(
StreamingContextStates
.All);