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