2
#pragma warning disable 1591
4
// This class is... borrowed from .NET and Microsoft for a short time.
5
// Hopefully Microsoft will add DateTimeOffset to the compact framework
6
// or I will rewrite a striped down version of this file myself
8
namespace System.Runtime.Serialization
10
public enum StreamingContextStates
23
public struct StreamingContext
25
internal object m_additionalContext;
26
internal StreamingContextStates m_state;
27
public StreamingContext(StreamingContextStates state)
32
public StreamingContext(StreamingContextStates state, object additional)
35
this.m_additionalContext = additional;
42
return this.m_additionalContext;
45
public override bool Equals(object obj)
47
return ((obj is StreamingContext) && ((((StreamingContext)obj).m_additionalContext == this.m_additionalContext) && (((StreamingContext)obj).m_state == this.m_state)));
50
public override int GetHashCode()
52
return (int)this.m_state;
55
public StreamingContextStates State
b'\\ No newline at end of file'