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