2 types derived from AssemblyBuilder
System.Private.CoreLib (1)
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (1)
64internal sealed partial class RuntimeAssemblyBuilder : AssemblyBuilder
System.Reflection.Emit (1)
System\Reflection\Emit\PersistedAssemblyBuilder.cs (1)
15public sealed class PersistedAssemblyBuilder : AssemblyBuilder
52 references to AssemblyBuilder
Aspire.Hosting.Tests (6)
UserSecretsParameterDefaultTests.cs (6)
24var testAssembly = AssemblyBuilder.DefineDynamicAssembly( 40var testAssembly = AssemblyBuilder.DefineDynamicAssembly(new("TestAssembly"), AssemblyBuilderAccess.RunAndCollect, []); 67var testAssembly = AssemblyBuilder.DefineDynamicAssembly(
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (1)
1853static internal ModuleBuilder CreateModuleBuilder(AssemblyBuilder assemblyBuilder, string name)
Microsoft.AspNetCore.InternalTesting.Tests (2)
TestableAssembly.cs (2)
67var assembly = AssemblyBuilder.DefineDynamicAssembly(
Microsoft.AspNetCore.Mvc.Core.Test (6)
ApplicationParts\RelatedAssemblyPartTest.cs (2)
19var assembly = AssemblyBuilder.DefineDynamicAssembly(name, AssemblyBuilderAccess.RunAndCollect);
DependencyInjection\MvcBuilderExtensionsTest.cs (2)
42var assembly = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName("Test"), AssemblyBuilderAccess.Run);
DependencyInjection\MvcCoreBuilderExtensionsTest.cs (2)
39var assembly = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName("Test"), AssemblyBuilderAccess.Run);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
AssemblyPartExtensionTest.cs (2)
49var assembly = AssemblyBuilder.DefineDynamicAssembly(name,
Microsoft.AspNetCore.SignalR.Core (2)
Internal\TypedClientBuilder.cs (2)
41var assemblyBuilder = AssemblyBuilder.DefineDynamicAssembly(assemblyName, AssemblyBuilderAccess.Run);
Microsoft.CodeAnalysis.UnitTests (2)
Collections\ImmutableSegmentedListTest.cs (2)
795var assembly = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName("dynamic_assembly"), AssemblyBuilderAccess.RunAndCollect);
Microsoft.VisualBasic.Tests (2)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBaseTests.cs (2)
30var assemblyBuilder = AssemblyBuilder.DefineDynamicAssembly(
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
427[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Emit.AssemblyBuilder))]
netstandard (1)
netstandard.cs (1)
1395[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Emit.AssemblyBuilder))]
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\MetadataViewGenerator.cs (2)
84var assemblyBuilder = AssemblyBuilder.DefineDynamicAssembly(ProxyAssemblyName, AssemblyBuilderAccess.Run);
System.Linq.Expressions (3)
System\Dynamic\Utils\DelegateHelpers.cs (1)
50=> typeof(AssemblyBuilder)
System\Linq\Expressions\Compiler\AssemblyGen.cs (2)
38AssemblyBuilder myAssembly = AssemblyBuilder.DefineDynamicAssembly(name, AssemblyBuilderAccess.Run);
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (2)
190AssemblyBuilder.EnsureDynamicCodeSupported(); 225AssemblyBuilder.EnsureDynamicCodeSupported();
src\System\Reflection\Emit\CustomAttributeBuilder.cs (1)
64AssemblyBuilder.EnsureDynamicCodeSupported();
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (2)
24public static AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access) 29public static AssemblyBuilder DefineDynamicAssembly(
src\System\Reflection\Emit\SignatureHelper.cs (1)
227AssemblyBuilder.EnsureDynamicCodeSupported();
src\System\Reflection\Metadata\AssemblyExtensions.cs (1)
23/// The metadata might not be available for some assemblies, such as <see cref="Emit.AssemblyBuilder" />, AOT images, etc.
System.Private.Xml (8)
System\Xml\Serialization\CodeGenerator.cs (3)
1251internal static AssemblyBuilder CreateAssemblyBuilder(string name) 1256return AssemblyBuilder.DefineDynamicAssembly(assemblyName, AssemblyBuilderAccess.Run); 1259internal static ModuleBuilder CreateModuleBuilder(AssemblyBuilder assemblyBuilder, string name)
System\Xml\Serialization\Compilation.cs (1)
458AssemblyBuilder assemblyBuilder = CodeGenerator.CreateAssemblyBuilder(assemblyName);
System\Xml\Xsl\IlGen\XmlILModule.cs (4)
41AssemblyBuilder asmBldr = AssemblyBuilder.DefineDynamicAssembly(asmName, AssemblyBuilderAccess.Run); 77AssemblyBuilder asmBldr; 94asmBldr = AssemblyBuilder.DefineDynamicAssembly(
System.Reflection.DispatchProxy (2)
System\Reflection\DispatchProxyGenerator.cs (2)
111private readonly AssemblyBuilder _ab; 134_ab = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName(name), builderAccess);
System.Reflection.Emit (1)
artifacts\obj\System.Reflection.Emit\Debug\net10.0\System.Reflection.Emit.Forwards.cs (1)
3[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.Emit.AssemblyBuilder))]
System.Runtime.InteropServices (2)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (2)
70AssemblyBuilder assembly = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName("ComImportForwarder"), runtimeType.IsCollectible ? AssemblyBuilderAccess.RunAndCollect : AssemblyBuilderAccess.Run);
System.Windows.Forms (2)
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
45AssemblyBuilder aBuilder = AssemblyBuilder.DefineDynamicAssembly(assemblyName, AssemblyBuilderAccess.Run);