11 references to SetCustomAttribute
Microsoft.AspNetCore.Mvc.Core.Test (2)
DependencyInjection\MvcBuilderExtensionsTest.cs (1)
48assembly.SetCustomAttribute(attribute);
DependencyInjection\MvcCoreBuilderExtensionsTest.cs (1)
45assembly.SetCustomAttribute(attribute);
System.Private.CoreLib (1)
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (1)
106SetCustomAttribute(assemblyAttribute);
System.Private.Xml (4)
System\Xml\Serialization\Compilation.cs (1)
466assemblyBuilder.SetCustomAttribute(new CustomAttributeBuilder(AssemblyVersionAttribute_ctor, new object[] { assemblyVersion }));
System\Xml\Xsl\IlGen\XmlILModule.cs (3)
45asmBldr.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.Transparent, Array.Empty<object>())); 99asmBldr.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.Transparent, Array.Empty<object>())); 105asmBldr.SetCustomAttribute(new CustomAttributeBuilder(XmlILConstructors.Debuggable, new object[] { debuggingModes }));
System.Reflection.DispatchProxy (1)
System\Reflection\DispatchProxyGenerator.cs (1)
233_ab.SetCustomAttribute(customAttributeBuilder);
System.Reflection.Emit (1)
System\Reflection\Emit\PersistedAssemblyBuilder.cs (1)
48SetCustomAttribute(assemblyAttribute);
System.Runtime.InteropServices (2)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (2)
75assembly.SetCustomAttribute(new CustomAttributeBuilder(ignoresAccessChecksToAttributeConstructor, new object[] { typeof(IComImportAdapter).Assembly.GetName().Name! })); 83assembly.SetCustomAttribute(new CustomAttributeBuilder(ignoresAccessChecksToAttributeConstructor, new object[] { iface.Assembly.GetName().Name! }));