diff options
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs b/src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs new file mode 100644 index 000000000..ff0765e5c --- /dev/null +++ b/src/System.Private.CoreLib/src/System/Reflection/Emit/FieldBuilder.cs @@ -0,0 +1,105 @@ +// 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. + +using System.Globalization; + +namespace System.Reflection.Emit +{ + + public sealed class FieldBuilder : FieldInfo + { + internal FieldBuilder() + { + // Prevent generating a default constructor + } + + public override FieldAttributes Attributes + { + get + { + return default; + } + } + + public override Type DeclaringType + { + get + { + return default; + } + } + + public override RuntimeFieldHandle FieldHandle + { + get + { + return default; + } + } + + public override Type FieldType + { + get + { + return default; + } + } + + public override string Name + { + get + { + return default; + } + } + + public override Type ReflectedType + { + get + { + return default; + } + } + + public override object[] GetCustomAttributes(bool inherit) + { + return default; + } + + public override object[] GetCustomAttributes(Type attributeType, bool inherit) + { + return default; + } + + public override object GetValue(object obj) + { + return default; + } + + public override bool IsDefined(Type attributeType, bool inherit) + { + return default; + } + + public void SetConstant(object defaultValue) + { + } + + public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) + { + } + + public void SetCustomAttribute(CustomAttributeBuilder customBuilder) + { + } + + public void SetOffset(int iOffset) + { + } + + public override void SetValue(object obj, object val, BindingFlags invokeAttr, Binder binder, CultureInfo culture) + { + } + } +} |