We need you! We're working hard on the next version of Developer Fusion -
Let us know what you think we should be up to!
-
Expand
Microsoft.Win32
-
Expand
Microsoft.Win32.SafeHandles
-
Expand
System
-
Expand
System.Runtime.Hosting
-
Expand
System.Runtime.InteropServices
-
Expand
System.Runtime.CompilerServices
-
Expand
System.Collections
-
Expand
System.Collections.Generic
-
Expand
System.Collections.ObjectModel
-
Expand
System.Configuration.Assemblies
-
Expand
System.Diagnostics
-
Expand
System.Diagnostics.CodeAnalysis
-
Expand
System.Diagnostics.SymbolStore
-
Expand
System.Globalization
-
Expand
System.IO
-
Expand
System.IO.IsolatedStorage
-
Expand
System.Reflection
-
Expand
System.Reflection.Cache
-
Expand
System.Reflection.Emit
-
Expand
__ExceptionInfo
-
Expand
__ExceptionInstance
-
Expand
__FixupData
-
Expand
AssemblyBuilder
-
Expand
AssemblyBuilderAccess
-
Expand
AssemblyBuilderData
-
Expand
ConstructorBuilder
-
Expand
ConstructorOnTypeBuilderInstantiation
-
Expand
CustAttr
-
Expand
CustomAttributeBuilder
-
Expand
DestroyScout
-
Expand
DynamicILGenerator
-
Expand
DynamicILInfo
-
Expand
DynamicMethod
-
Expand
DynamicResolver
-
Expand
DynamicScope
-
Expand
EmptyCAHolder
-
Expand
Entry
-
Expand
EnumBuilder
-
Expand
EventBuilder
-
Expand
EventToken
-
Expand
FieldBuilder
-
Expand
FieldOnTypeBuilderInstantiation
-
Expand
FieldToken
-
Expand
FlowControl
-
Expand
Format
-
Expand
GenericMethodInfo
-
Expand
GenericTypeParameterBuilder
-
Expand
ILGenerator
-
Expand
Label
-
Expand
LineNumberInfo
-
Expand
LocalBuilder
-
Expand
LocalSymInfo
-
Expand
MethodBuilder
-
Expand
MethodBuilderInstantiation
-
Expand
MethodOnTypeBuilderInstantiation
-
Expand
MethodRental
-
Expand
MethodToken
-
Expand
ModuleBuilder
-
Expand
ModuleBuilderData
-
Expand
OpCode
-
Expand
OpCodes
-
Expand
OpCodeType
-
Expand
OperandType
-
Expand
PackingSize
-
Expand
ParameterBuilder
-
Expand
ParameterToken
-
Expand
PEFileKinds
-
Expand
PropertyBuilder
-
AddOtherMethod(MethodBuilder)
-
Attributes()
-
CanRead()
-
CanWrite()
-
DeclaringType()
-
GetAccessors(bool)
-
GetCustomAttributes(bool)
-
GetCustomAttributes(Type, bool)
-
GetGetMethod(bool)
-
GetIDsOfNames(Guid, IntPtr, uint, uint, IntPtr)
-
GetIndexParameters()
-
GetSetMethod(bool)
-
GetTypeInfo(uint, uint, IntPtr)
-
GetTypeInfoCount(uint)
-
GetValue(object, BindingFlags, Binder, object, CultureInfo)
-
GetValue(object, object)
-
Invoke(uint, Guid, uint, short, IntPtr, IntPtr, IntPtr, IntPtr)
-
IsDefined(Type, bool)
-
MetadataTokenInternal()
-
Module()
-
Name()
-
PropertyBuilder()
-
PropertyBuilder(Module, string, SignatureHelper, PropertyAttributes, Type, PropertyToken, TypeBuilder)
-
PropertyToken()
-
PropertyType()
-
ReflectedType()
-
SetConstant(object)
-
SetCustomAttribute(ConstructorInfo, byte)
-
SetCustomAttribute(CustomAttributeBuilder)
-
SetGetMethod(MethodBuilder)
-
SetSetMethod(MethodBuilder)
-
SetValue(object, object, BindingFlags, Binder, object, CultureInfo)
-
SetValue(object, object, object)
-
Expand
PropertyToken
-
Expand
REDocument
-
Expand
ResWriterData
-
Expand
RTDynamicMethod
-
Expand
ScopeAction
-
Expand
ScopeTree
-
Expand
SecurityControlFlags
-
Expand
SignatureHelper
-
Expand
SignatureToken
-
Expand
StackBehaviour
-
Expand
StringToken
-
Expand
SymbolMethod
-
Expand
SymbolType
-
Expand
SymCustomAttr
-
Expand
TypeBuilder
-
Expand
TypeBuilderInstantiation
-
Expand
TypeKind
-
Expand
TypeNameBuilder
-
Expand
TypeToken
-
Expand
UnmanagedMarshal
-
Expand
VarArgMethod
-
Expand
System.Resources
-
Expand
System.Runtime
-
Expand
System.Runtime.InteropServices.Expando
-
Expand
System.Runtime.ConstrainedExecution
-
Expand
System.Runtime.Remoting.Activation
-
Expand
System.Runtime.Remoting.Messaging
-
Expand
System.Runtime.Remoting.Channels
-
Expand
System.Runtime.Remoting.Lifetime
-
Expand
System.Runtime.Remoting
-
Expand
System.Runtime.Remoting.Contexts
-
Expand
System.Runtime.Remoting.Proxies
-
Expand
System.Runtime.Remoting.Metadata
-
Expand
System.Runtime.Remoting.Metadata.W3cXsd2001
-
Expand
System.Runtime.Remoting.Services
-
Expand
System.Runtime.Serialization
-
Expand
System.Runtime.Serialization.Formatters
-
Expand
System.Runtime.Serialization.Formatters.Binary
-
Expand
System.Runtime.Versioning
-
Expand
System.Security
-
Expand
System.Security.Cryptography
-
Expand
System.Security.Cryptography.X509Certificates
-
Expand
System.Security.Permissions
-
Expand
System.Security.Policy
-
Expand
System.Security.Principal
-
Expand
System.Security.Util
-
Expand
System.Text
-
Expand
System.Threading
-
Expand
System.Runtime.Remoting.Channels.Http
-
Expand
System.Runtime.Remoting.Channels.Tcp
-
Expand
System.Runtime.Remoting.MetadataServices
-
Expand
System.Runtime.Serialization.Formatters.Soap.Xml
-
Expand
System.Runtime.Serialization.Formatters.Soap
-
Expand
Microsoft.Tools.Caspol
-
Expand
Microsoft.Tools.Build
-
Expand
Microsoft.CSharp
-
Expand
System.CodeDom
-
Expand
System.CodeDom.Compiler
-
Expand
System.Collections.Specialized
-
Expand
System.ComponentModel
-
Expand
System.ComponentModel.Design
-
Expand
System.ComponentModel.Design.Serialization
-
Expand
System.Configuration
-
Expand
System.Web
-
Expand
System.Configuration.Provider
-
Expand
System.Configuration.Internal
-
Expand
System.Internal
-
Expand
System.Windows.Forms
-
Expand
System.Net
-
Expand
System.Net.Sockets
-
Expand
System.Net.NetworkInformation
-
Expand
System.Net.ComImports
-
Expand
System.Net.Security
-
Expand
System.Net.Cache
-
Expand
System.Net.Configuration
-
Expand
System.Text.RegularExpressions
-
Expand
System.Tools
-
Expand
System.IO.Compression
-
Expand
System.IO.Ports
-
Expand
System.Security.AccessControl
-
Expand
System.Xml
-
Expand
System.Xml.XPath.DataBinding
-
Expand
System.Xml.Schema
-
Expand
System.Xml.Serialization
-
Expand
System.Xml.Serialization.Advanced
-
Expand
System.Xml.Serialization.Configuration
-
Expand
System.Xml.XPath
-
Expand
System.Xml.Xsl
-
Expand
System.Xml.Xsl.IlGen
-
Expand
System.Xml.Xsl.Qil
-
Expand
System.Xml.Xsl.Runtime
-
Expand
System.Xml.Xsl.XPath
-
Expand
System.Xml.Xsl.Xslt
-
Expand
System.Xml.Xsl.XsltOld
-
Expand
System.Xml.Xsl.XsltOld.Debugger
-
Expand
Microsoft.JScript
-
Expand
Microsoft.Vsa
-
Expand
Microsoft.JScript.Vsa
- namespace System.Reflection.Emit
- {
-
- using System;
- using System.Reflection;
- using CultureInfo = System.Globalization.CultureInfo;
- using System.Security.Permissions;
- using System.Runtime.InteropServices;
-
-
-
-
-
- [HostProtection(MayLeakOnAbort = true)]
- [ClassInterface(ClassInterfaceType.None)]
- [ComDefaultInterface(typeof(_PropertyBuilder))]
- [System.Runtime.InteropServices.ComVisible(true)]
- public sealed class PropertyBuilder : PropertyInfo, _PropertyBuilder
- {
-
-
- private PropertyBuilder()
- {
- }
-
-
-
-
-
-
-
-
-
-
- internal PropertyBuilder(Module mod, string name, SignatureHelper sig, PropertyAttributes attr, Type returnType, PropertyToken prToken, TypeBuilder containingType)
- {
- if (name == null)
- throw new ArgumentNullException("name");
- if (name.Length == 0)
- throw new ArgumentException(Environment.GetResourceString("Argument_EmptyName"), "name");
- if (name[0] == '\0')
- throw new ArgumentException(Environment.GetResourceString("Argument_IllegalName"), "name");
-
- m_name = name;
- m_module = mod;
- m_signature = sig;
- m_attributes = attr;
- m_returnType = returnType;
- m_prToken = prToken;
- m_tkProperty = prToken.Token;
- m_getMethod = null;
- m_setMethod = null;
- m_containingType = containingType;
- }
-
-
-
-
- public void SetConstant(object defaultValue)
- {
- m_containingType.ThrowIfCreated();
-
- TypeBuilder.SetConstantValue(m_module, m_prToken.Token, m_returnType, defaultValue);
- }
-
-
-
-
- public PropertyToken PropertyToken {
- get { return m_prToken; }
- }
-
- internal override int MetadataTokenInternal {
- get { return m_tkProperty; }
- }
-
- public override Module Module {
- get { return m_containingType.Module; }
- }
-
-
- public void SetGetMethod(MethodBuilder mdBuilder)
- {
- if (mdBuilder == null) {
- throw new ArgumentNullException("mdBuilder");
- }
- m_containingType.ThrowIfCreated();
- TypeBuilder.InternalDefineMethodSemantics(m_module, m_prToken.Token, MethodSemanticsAttributes.Getter, mdBuilder.GetToken().Token);
- m_getMethod = mdBuilder;
- }
-
-
- public void SetSetMethod(MethodBuilder mdBuilder)
- {
- if (mdBuilder == null) {
- throw new ArgumentNullException("mdBuilder");
- }
- m_containingType.ThrowIfCreated();
- TypeBuilder.InternalDefineMethodSemantics(m_module, m_prToken.Token, MethodSemanticsAttributes.Setter, mdBuilder.GetToken().Token);
- m_setMethod = mdBuilder;
- }
-
- public void AddOtherMethod(MethodBuilder mdBuilder)
- {
- if (mdBuilder == null) {
- throw new ArgumentNullException("mdBuilder");
- }
- m_containingType.ThrowIfCreated();
- TypeBuilder.InternalDefineMethodSemantics(m_module, m_prToken.Token, MethodSemanticsAttributes.Other, mdBuilder.GetToken().Token);
- }
-
-
- [System.Runtime.InteropServices.ComVisible(true)]
- public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)
- {
- if (con == null)
- throw new ArgumentNullException("con");
- if (binaryAttribute == null)
- throw new ArgumentNullException("binaryAttribute");
-
- m_containingType.ThrowIfCreated();
- TypeBuilder.InternalCreateCustomAttribute(m_prToken.Token, ((ModuleBuilder)m_module).GetConstructorToken(con).Token, binaryAttribute, m_module, false);
- }
-
-
- public void SetCustomAttribute(CustomAttributeBuilder customBuilder)
- {
- if (customBuilder == null) {
- throw new ArgumentNullException("customBuilder");
- }
- m_containingType.ThrowIfCreated();
- customBuilder.CreateCustomAttribute((ModuleBuilder)m_module, m_prToken.Token);
- }
-
-
- public override object GetValue(object obj, object[] index)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override void SetValue(object obj, object value, object[] index)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override MethodInfo[] GetAccessors(bool nonPublic)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override MethodInfo GetGetMethod(bool nonPublic)
- {
- if (nonPublic || m_getMethod == null)
- return m_getMethod;
-
- if ((m_getMethod.Attributes & MethodAttributes.Public) == MethodAttributes.Public)
- return m_getMethod;
- return null;
- }
-
- public override MethodInfo GetSetMethod(bool nonPublic)
- {
- if (nonPublic || m_setMethod == null)
- return m_setMethod;
-
- if ((m_setMethod.Attributes & MethodAttributes.Public) == MethodAttributes.Public)
- return m_setMethod;
- return null;
- }
-
- public override ParameterInfo[] GetIndexParameters()
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override Type PropertyType {
- get { return m_returnType; }
- }
-
- public override PropertyAttributes Attributes {
- get { return m_attributes; }
- }
-
- public override bool CanRead {
- get {
- if (m_getMethod != null)
- return true;
- else
- return false;
- }
- }
-
- public override bool CanWrite {
- get {
- if (m_setMethod != null)
- return true;
- else
- return false;
- }
- }
-
- public override object[] GetCustomAttributes(bool inherit)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override object[] GetCustomAttributes(Type attributeType, bool inherit)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- public override bool IsDefined(Type attributeType, bool inherit)
- {
- throw new NotSupportedException(Environment.GetResourceString("NotSupported_DynamicModule"));
- }
-
- void _PropertyBuilder.GetTypeInfoCount(out uint pcTInfo)
- {
- throw new NotImplementedException();
- }
-
- void _PropertyBuilder.GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo)
- {
- throw new NotImplementedException();
- }
-
- void _PropertyBuilder.GetIDsOfNames( [In()]
- ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
- {
- throw new NotImplementedException();
- }
-
- void _PropertyBuilder.Invoke(uint dispIdMember, [In()]
- ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
- {
- throw new NotImplementedException();
- }
-
-
- public override string Name {
- get { return m_name; }
- }
-
- public override Type DeclaringType {
- get { return m_containingType; }
- }
-
- public override Type ReflectedType {
- get { return m_containingType; }
- }
-
-
- private string m_name;
-
- private PropertyToken m_prToken;
-
- private int m_tkProperty;
- private Module m_module;
- private SignatureHelper m_signature;
- private PropertyAttributes m_attributes;
-
- private Type m_returnType;
-
- private MethodInfo m_getMethod;
- private MethodInfo m_setMethod;
- private TypeBuilder m_containingType;
- }
-
- }