PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IField Interface / IField Methods / IField.​Translate­Field Method

IField.TranslateField Method

Translates the current field so that it is meaningful in another module than the one to which it primarily belong.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
IField TranslateField(
	ModuleDeclaration targetModule
)

Parameters

targetModule
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
Module into which the type signature should be translated.

Return Value

Type: IField
A field meaningful in the targetModule module.
See Also