| File: System\Reflection\Emit\CustomAttributeBuilder.cs | Web Access |
| Project: src\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj (System.Private.CoreLib) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Reflection.Emit { public class CustomAttributeBuilder { public CustomAttributeBuilder(ConstructorInfo con, object[] constructorArgs) { ReflectionEmitThrower.ThrowPlatformNotSupportedException(); } public CustomAttributeBuilder(ConstructorInfo con, object[] constructorArgs, FieldInfo[] namedFields, object[] fieldValues) { ReflectionEmitThrower.ThrowPlatformNotSupportedException(); } public CustomAttributeBuilder(ConstructorInfo con, object[] constructorArgs, PropertyInfo[] namedProperties, object[] propertyValues) { ReflectionEmitThrower.ThrowPlatformNotSupportedException(); } public CustomAttributeBuilder(ConstructorInfo con, object[] constructorArgs, PropertyInfo[] namedProperties, object[] propertyValues, FieldInfo[] namedFields, object[] fieldValues) { ReflectionEmitThrower.ThrowPlatformNotSupportedException(); } #pragma warning disable CA1822 // Member 'Ctor' does not access instance data and can be marked as static internal ConstructorInfo Ctor => default; internal byte[] Data => default; #pragma warning restore CA1822 } }