1 instantiation of AssemblyBuilder
mscorlib (1)
system\reflection\emit\assemblybuilder.cs (1)
569
return new
AssemblyBuilder
(AppDomain.CurrentDomain,
90 references to AssemblyBuilder
mscorlib (73)
system\appdomain.cs (30)
1214
public
AssemblyBuilder
DefineDynamicAssembly(
1218
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1227
public
AssemblyBuilder
DefineDynamicAssembly(
1232
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1244
public
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
1249
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1262
public
AssemblyBuilder
DefineDynamicAssembly(
1267
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1282
public
AssemblyBuilder
DefineDynamicAssembly(
1287
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1302
public
AssemblyBuilder
DefineDynamicAssembly(
1309
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1326
public
AssemblyBuilder
DefineDynamicAssembly(
1332
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1344
public
AssemblyBuilder
DefineDynamicAssembly(
1352
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1369
public
AssemblyBuilder
DefineDynamicAssembly(
1377
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1395
public
AssemblyBuilder
DefineDynamicAssembly(
1404
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1423
public
AssemblyBuilder
DefineDynamicAssembly(
1433
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1451
public
AssemblyBuilder
DefineDynamicAssembly(
1462
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1479
public
AssemblyBuilder
DefineDynamicAssembly(
1486
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
1503
private
AssemblyBuilder
InternalDefineDynamicAssembly(
1515
return
AssemblyBuilder
.InternalDefineDynamicAssembly(name,
3237
AssemblyBuilder
ab = asm as
AssemblyBuilder
;
system\iappdomain.cs (9)
91
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
94
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
98
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
102
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
108
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
113
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
120
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
127
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
135
AssemblyBuilder
DefineDynamicAssembly(AssemblyName name,
system\reflection\emit\assemblybuilder.cs (8)
188
return
AssemblyBuilder
.GetInMemoryAssemblyModule(GetNativeHandle());
201
Module module =
AssemblyBuilder
.GetOnDiskAssemblyModule(InternalAssembly.GetNativeHandle());
480
m_manifestModuleBuilder.Init(
AssemblyBuilder
.MANIFEST_MODULE_NAME, null, 0);
497
public static
AssemblyBuilder
DefineDynamicAssembly(
501
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
510
public static
AssemblyBuilder
DefineDynamicAssembly(
515
Contract.Ensures(Contract.Result<
AssemblyBuilder
>() != null);
547
internal static
AssemblyBuilder
InternalDefineDynamicAssembly(
system\reflection\emit\cominterfaces.cs (1)
21
[TypeLibImportClassAttribute(typeof(System.Reflection.Emit.
AssemblyBuilder
))]
system\reflection\emit\dynamicmethod.cs (2)
326
AssemblyBuilder
assembly =
AssemblyBuilder
.InternalDefineDynamicAssembly(
system\reflection\emit\modulebuilder.cs (4)
109
private
AssemblyBuilder
m_assemblyBuilder;
110
internal
AssemblyBuilder
ContainingAssemblyBuilder { get { return m_assemblyBuilder; } }
114
internal ModuleBuilder(
AssemblyBuilder
assemblyBuilder, InternalModuleBuilder internalModuleBuilder)
959
if (baseType == null && Assembly is
AssemblyBuilder
)
system\reflection\emit\modulebuilderdata.cs (1)
69
Contract.Assert(m_strModuleName ==
AssemblyBuilder
.MANIFEST_MODULE_NAME, "Changing names for non-manifest module");
system\reflection\emit\typebuilder.cs (1)
636
AssemblyBuilder
containingAssem = m_module.ContainingAssemblyBuilder;
system\runtime\interopservices\itypelibconverter.cs (2)
112
AssemblyBuilder
ConvertTypeLibToAssembly(
131
AssemblyBuilder
ConvertTypeLibToAssembly([MarshalAs(UnmanagedType.Interface)] Object typeLib,
system\runtime\interopservices\typelibconverter.cs (15)
59
public
AssemblyBuilder
ConvertTypeLibToAssembly([MarshalAs(UnmanagedType.Interface)] Object typeLib,
86
public
AssemblyBuilder
ConvertTypeLibToAssembly([MarshalAs(UnmanagedType.Interface)] Object typeLib,
119
AssemblyBuilder
asmBldr = CreateAssemblyForTypeLib(typeLib, asmFileName, asmName,
172
AssemblyBuilder
ab = assembly as
AssemblyBuilder
;
230
private static
AssemblyBuilder
CreateAssemblyForTypeLib(Object typeLib, String asmFileName, AssemblyName asmName, bool bPrimaryInteropAssembly, bool bReflectionOnly, bool bNoDefineVersionResource)
255
AssemblyBuilder
asmBldr;
353
private static void UpdateComTypesInAssembly(
AssemblyBuilder
asmBldr, ModuleBuilder modBldr)
367
private static void SetGuidAttributeOnAssembly(
AssemblyBuilder
asmBldr, Object typeLib)
382
private static void SetImportedFromTypeLibAttrOnAssembly(
AssemblyBuilder
asmBldr, Object typeLib)
400
private static void SetTypeLibVersionAttribute(
AssemblyBuilder
asmBldr, Object typeLib)
419
private static void SetVersionInformation(
AssemblyBuilder
asmBldr, Object typeLib, AssemblyName asmName)
440
private static void SetPIAAttributeOnAssembly(
AssemblyBuilder
asmBldr, Object typeLib)
531
AssemblyBuilder
ab = asm as
AssemblyBuilder
;
System (1)
regex\system\text\regularexpressions\RegexCompiler.cs (1)
3068
private
AssemblyBuilder
_assembly;
System.Activities (1)
System\Activities\Debugger\StateManager.cs (1)
691
AssemblyBuilder
assemblyBuilder;
System.Core (1)
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
41
private readonly
AssemblyBuilder
_myAssembly;
System.Data.Entity (1)
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
85
AssemblyBuilder
assemblyBuilder = AppDomain.CurrentDomain.DefineDynamicAssembly(assemblyName, s_ProxyAssemblyBuilderAccess, attributeBuilders);
System.Data.SqlXml (3)
System\Xml\Xsl\IlGen\XmlILModule.cs (3)
44
AssemblyBuilder
asmBldr;
107
AssemblyBuilder
asmBldr;
308
((
AssemblyBuilder
) this.typeBldr.Module.Assembly).Save(this.modFile + ".dll");
System.ServiceModel (1)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
42
AssemblyBuilder
assemblyBuilder;
System.Web (2)
Util\FactoryGenerator.cs (1)
128
AssemblyBuilder
newAssembly =
Util\FastPropertyAccessor.cs (1)
94
AssemblyBuilder
newAssembly =
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
271
AssemblyBuilder
assembly = AppDomain.CurrentDomain.DefineDynamicAssembly(name, AssemblyBuilderAccess.Run, assemblyAttributes);
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
142
AssemblyBuilder
newAssembly =
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
53
AssemblyBuilder
aBuilder = currentDomain.DefineDynamicAssembly(assemblyName, AssemblyBuilderAccess.Run);
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
536
&& !(assembly is System.Reflection.Emit.
AssemblyBuilder
)
System.Xml (3)
System\Xml\Serialization\CodeGenerator.cs (2)
1731
static internal
AssemblyBuilder
CreateAssemblyBuilder(AppDomain appDomain, string name) {
1768
static internal ModuleBuilder CreateModuleBuilder(
AssemblyBuilder
assemblyBuilder, string name) {
System\Xml\Serialization\Compilation.cs (1)
423
AssemblyBuilder
assemblyBuilder = CodeGenerator.CreateAssemblyBuilder(AppDomain.CurrentDomain, assemblyName);