ModuleBuilder
cs.system.reflection.Module → cs.system.reflection.emit.ModuleBuilder (extern class)
Implements: cs.system.runtime.interopservices._ModuleBuilder
Instance Members
FullyQualifiedName: StringIsTransient(): Bool| Returns |
|---|
| Bool |
CreateGlobalFunctions(): VoidDefineInitializedData(name: String, data: cs.NativeArray<cs.types.UInt8>, attributes: Anonymous): FieldBuilder| Name | Type |
|---|---|
name |
String |
data |
cs.NativeArray<cs.types.UInt8> |
attributes |
Anonymous |
| Returns |
|---|
| FieldBuilder |
DefineUninitializedData(name: String, size: Int, attributes: Anonymous): FieldBuilder| Name | Type |
|---|---|
name |
String |
size |
Int |
attributes |
Anonymous |
| Returns |
|---|
| FieldBuilder |
DefineGlobalMethod(name: String, attributes: Anonymous, returnType: cs.system.Type, parameterTypes: cs.NativeArray<cs.system.Type>): MethodBuilder| Name | Type |
|---|---|
name |
String |
attributes |
Anonymous |
returnType |
cs.system.Type |
parameterTypes |
cs.NativeArray<cs.system.Type> |
| Returns |
|---|
| MethodBuilder |
DefinePInvokeMethod(name: String, dllName: String, attributes: Anonymous, callingConvention: Anonymous, returnType: cs.system.Type, parameterTypes: cs.NativeArray<cs.system.Type>, nativeCallConv: Anonymous, nativeCharSet: Anonymous): MethodBuilder| Name | Type |
|---|---|
name |
String |
dllName |
String |
attributes |
Anonymous |
callingConvention |
Anonymous |
returnType |
cs.system.Type |
parameterTypes |
cs.NativeArray<cs.system.Type> |
nativeCallConv |
Anonymous |
nativeCharSet |
Anonymous |
| Returns |
|---|
| MethodBuilder |
DefineType(name: String): TypeBuilder| Name | Type |
|---|---|
name |
String |
| Returns |
|---|
| TypeBuilder |
GetArrayMethod(arrayClass: cs.system.Type, methodName: String, callingConvention: Anonymous, returnType: cs.system.Type, parameterTypes: cs.NativeArray<cs.system.Type>): cs.system.reflection.MethodInfo| Name | Type |
|---|---|
arrayClass |
cs.system.Type |
methodName |
String |
callingConvention |
Anonymous |
returnType |
cs.system.Type |
parameterTypes |
cs.NativeArray<cs.system.Type> |
| Returns |
|---|
| cs.system.reflection.MethodInfo |
DefineEnum(name: String, visibility: Anonymous, underlyingType: cs.system.Type): EnumBuilder| Name | Type |
|---|---|
name |
String |
visibility |
Anonymous |
underlyingType |
cs.system.Type |
| Returns |
|---|
| EnumBuilder |
GetType(className: String): cs.system.Type| Name | Type |
|---|---|
className |
String |
| Returns |
|---|
| cs.system.Type |
SetCustomAttribute(customBuilder: CustomAttributeBuilder): Void| Name | Type |
|---|---|
customBuilder |
CustomAttributeBuilder |
GetSymWriter(): cs.system.diagnostics.symbolstore.ISymbolWriter| Returns |
|---|
| cs.system.diagnostics.symbolstore.ISymbolWriter |
DefineDocument(url: String, language: cs.system.Guid, languageVendor: cs.system.Guid, documentType: cs.system.Guid): cs.system.diagnostics.symbolstore.ISymbolDocumentWriter| Name | Type |
|---|---|
url |
String |
language |
cs.system.Guid |
languageVendor |
cs.system.Guid |
documentType |
cs.system.Guid |
| Returns |
|---|
| cs.system.diagnostics.symbolstore.ISymbolDocumentWriter |
GetTypes(): cs.NativeArray<cs.system.Type>| Returns |
|---|
| cs.NativeArray<cs.system.Type> |
DefineResource(name: String, description: String, attribute: Anonymous): cs.system.resources.IResourceWriter| Name | Type |
|---|---|
name |
String |
description |
String |
attribute |
Anonymous |
| Returns |
|---|
| cs.system.resources.IResourceWriter |
DefineUnmanagedResource(resource: cs.NativeArray<cs.types.UInt8>): Void| Name | Type |
|---|---|
resource |
cs.NativeArray<cs.types.UInt8> |
DefineManifestResource(name: String, stream: cs.system.io.Stream, attribute: Anonymous): Void| Name | Type |
|---|---|
name |
String |
stream |
cs.system.io.Stream |
attribute |
Anonymous |
SetSymCustomAttribute(name: String, data: cs.NativeArray<cs.types.UInt8>): Void| Name | Type |
|---|---|
name |
String |
data |
cs.NativeArray<cs.types.UInt8> |
SetUserEntryPoint(entryPoint: cs.system.reflection.MethodInfo): Void| Name | Type |
|---|---|
entryPoint |
cs.system.reflection.MethodInfo |
GetMethodToken(method: cs.system.reflection.MethodInfo): MethodToken| Name | Type |
|---|---|
method |
cs.system.reflection.MethodInfo |
| Returns |
|---|
| MethodToken |
GetArrayMethodToken(arrayClass: cs.system.Type, methodName: String, callingConvention: Anonymous, returnType: cs.system.Type, parameterTypes: cs.NativeArray<cs.system.Type>): MethodToken| Name | Type |
|---|---|
arrayClass |
cs.system.Type |
methodName |
String |
callingConvention |
Anonymous |
returnType |
cs.system.Type |
parameterTypes |
cs.NativeArray<cs.system.Type> |
| Returns |
|---|
| MethodToken |
GetConstructorToken(con: cs.system.reflection.ConstructorInfo): MethodToken| Name | Type |
|---|---|
con |
cs.system.reflection.ConstructorInfo |
| Returns |
|---|
| MethodToken |
GetFieldToken(field: cs.system.reflection.FieldInfo): FieldToken| Name | Type |
|---|---|
field |
cs.system.reflection.FieldInfo |
| Returns |
|---|
| FieldToken |
GetSignatureToken(sigBytes: cs.NativeArray<cs.types.UInt8>, sigLength: Int): SignatureToken| Name | Type |
|---|---|
sigBytes |
cs.NativeArray<cs.types.UInt8> |
sigLength |
Int |
| Returns |
|---|
| SignatureToken |
GetStringConstant(str: String): StringToken| Name | Type |
|---|---|
str |
String |
| Returns |
|---|
| StringToken |
GetTypeToken(type: cs.system.Type): TypeToken| Name | Type |
|---|---|
type |
cs.system.Type |
| Returns |
|---|
| TypeToken |
Metadata
| Name | Parameters |
|---|---|
:nativeGen |
- |
:libType |
- |
:csNative |
- |