diff options
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs new file mode 100644 index 000000000..27060a966 --- /dev/null +++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/CustomAttributeBuilder.cs @@ -0,0 +1,29 @@ +// Licensed to the.NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +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(); + } + } +} |