PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Hash­Set<T>Get­Object­Data
Open sandboxFocus

AdvisableHashSet<T>.GetObjectData Method

GetObjectData(SerializationInfo, StreamingContext)

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo to populate with data.

StreamingContext context

The destination (see StreamingContext) for this serialization.

Overrides
DynamicallyAdvisableObject.GetObjectData(SerializationInfo, StreamingContext)
Exceptions
Type Condition
SecurityException

The caller does not have the required permission.