ModuleBuilder.GetSymWriter 方法

定义

返回与此动态模块关联的符号编写器。Returns the symbol writer associated with this dynamic module.

public:
 System::Diagnostics::SymbolStore::ISymbolWriter ^ GetSymWriter();
public System.Diagnostics.SymbolStore.ISymbolWriter GetSymWriter ();
member this.GetSymWriter : unit -> System.Diagnostics.SymbolStore.ISymbolWriter
Public Function GetSymWriter () As ISymbolWriter

返回

ISymbolWriter

与此动态模块关联的符号编写器。The symbol writer associated with this dynamic module.

注解

备注

从 .NET Framework 2.0 Service Pack 1 开始,此成员不再需要 ReflectionPermission 带有 ReflectionPermissionFlag.ReflectionEmit 标志的。Starting with the .NET Framework 2.0 Service Pack 1, this member no longer requires ReflectionPermission with the ReflectionPermissionFlag.ReflectionEmit flag. (参阅 反射发出中的安全问题。 ) 若要使用此功能,你的应用程序应面向 .NET Framework 3.5 或更高版本。(See Security Issues in Reflection Emit.) To use this functionality, your application should target the .NET Framework 3.5 or later.

适用于