PostSharp.ILAPI ReferencePost­Sharp.​Aspects.​SerializationMsil­Aspect­SerializerSerialize
Open sandboxFocus

MsilAspectSerializer.Serialize Method

Serialize(IAspect[], Stream, IMetadataEmitter)

Serializes an array of aspects into a stream.

Declaration
public override void Serialize(IAspect[] aspects, Stream stream, IMetadataEmitter metadataEmitter)
Parameters
Type Name Description
IAspect[] aspects

Array of aspects to be serialized.

Stream stream

Stream into which aspects have to be serialized.

IMetadataEmitter metadataEmitter

A metadata emitter for the current module.

Overrides
AspectSerializer.Serialize(IAspect[], Stream, IMetadataEmitter)