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
-
Attributes()
-
CallingConvention()
-
ConstructorOnTypeBuilderInstantiation(ConstructorInfo, TypeBuilderInstantiation)
-
ContainsGenericParameters()
-
DeclaringType()
-
GetConstructor(ConstructorInfo, TypeBuilderInstantiation)
-
GetCustomAttributes(bool)
-
GetCustomAttributes(Type, bool)
-
GetGenericArguments()
-
GetMethodImplementationFlags()
-
GetParameters()
-
GetParameterTypes()
-
GetType()
-
Invoke(BindingFlags, Binder, object, CultureInfo)
-
Invoke(object, BindingFlags, Binder, object, CultureInfo)
-
IsDefined(Type, bool)
-
IsGenericMethod()
-
IsGenericMethodDefinition()
-
MemberType()
-
MetadataTokenInternal()
-
MethodHandle()
-
Module()
-
Name()
-
ReflectedType()
-
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
-
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
- using System;
- using System.Reflection;
- using System.Reflection.Emit;
- using System.Collections;
- using System.Globalization;
- namespace System.Reflection.Emit
- {
- internal sealed class MethodOnTypeBuilderInstantiation : MethodInfo
- {
- #region Private Static Members
- static internal MethodInfo GetMethod(MethodInfo method, TypeBuilderInstantiation type)
- {
- return new MethodOnTypeBuilderInstantiation(method, type);
- }
- #endregion
-
- #region Private Data Mebers
- internal MethodInfo m_method;
- private TypeBuilderInstantiation m_type;
- #endregion
-
- #region Constructor
- internal MethodOnTypeBuilderInstantiation(MethodInfo method, TypeBuilderInstantiation type)
- {
- m_method = method;
- m_type = type;
- }
- #endregion
-
- internal override Type[] GetParameterTypes()
- {
- return m_method.GetParameterTypes();
- }
-
- #region MemberInfo Overrides
- public override MemberTypes MemberType {
- get { return m_method.MemberType; }
- }
- public override string Name {
- get { return m_method.Name; }
- }
- public override Type DeclaringType {
- get { return m_type; }
- }
- public override Type ReflectedType {
- get { return m_type; }
- }
- public override object[] GetCustomAttributes(bool inherit)
- {
- return m_method.GetCustomAttributes(inherit);
- }
- public override object[] GetCustomAttributes(Type attributeType, bool inherit)
- {
- return m_method.GetCustomAttributes(attributeType, inherit);
- }
- public override bool IsDefined(Type attributeType, bool inherit)
- {
- return m_method.IsDefined(attributeType, inherit);
- }
- internal override int MetadataTokenInternal {
- get { return m_method.MetadataTokenInternal; }
- }
- public override Module Module {
- get { return m_method.Module; }
- }
- public new Type GetType()
- {
- return base.GetType();
- }
- #endregion
-
- #region MethodBase Members
- public override ParameterInfo[] GetParameters()
- {
- return m_method.GetParameters();
- }
- public override MethodImplAttributes GetMethodImplementationFlags()
- {
- return m_method.GetMethodImplementationFlags();
- }
- public override RuntimeMethodHandle MethodHandle {
- get { return m_method.MethodHandle; }
- }
- public override MethodAttributes Attributes {
- get { return m_method.Attributes; }
- }
- public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
- {
- throw new NotSupportedException();
- }
- public override CallingConventions CallingConvention {
- get { return m_method.CallingConvention; }
- }
- public override Type[] GetGenericArguments()
- {
- return m_method.GetGenericArguments();
- }
- public override MethodInfo GetGenericMethodDefinition()
- {
- return m_method;
- }
- public override bool IsGenericMethodDefinition {
- get { return m_method.IsGenericMethodDefinition; }
- }
- public override bool ContainsGenericParameters {
- get { return m_method.ContainsGenericParameters; }
- }
- public override MethodInfo MakeGenericMethod(params Type[] typeArgs)
- {
- if (!IsGenericMethodDefinition)
- throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericMethodDefinition"));
-
- return MethodBuilderInstantiation.MakeGenericMethod(this, typeArgs);
- }
-
- public override bool IsGenericMethod {
- get { return m_method.IsGenericMethod; }
- }
-
- #endregion
-
- #region Public Abstract\Virtual Members
- internal override Type GetReturnType()
- {
- return m_method.GetReturnType();
- }
- public override ParameterInfo ReturnParameter {
- get {
- throw new NotSupportedException();
- }
- }
- public override ICustomAttributeProvider ReturnTypeCustomAttributes {
- get {
- throw new NotSupportedException();
- }
- }
- public override MethodInfo GetBaseDefinition()
- {
- throw new NotSupportedException();
- }
- #endregion
- }
-
- internal sealed class ConstructorOnTypeBuilderInstantiation : ConstructorInfo
- {
- #region Private Static Members
- static internal ConstructorInfo GetConstructor(ConstructorInfo Constructor, TypeBuilderInstantiation type)
- {
- return new ConstructorOnTypeBuilderInstantiation(Constructor, type);
- }
- #endregion
-
- #region Private Data Mebers
- internal ConstructorInfo m_ctor;
- private TypeBuilderInstantiation m_type;
- #endregion
-
- #region Constructor
- internal ConstructorOnTypeBuilderInstantiation(ConstructorInfo constructor, TypeBuilderInstantiation type)
- {
- m_ctor = constructor;
- m_type = type;
- }
- #endregion
-
- internal override Type[] GetParameterTypes()
- {
- return m_ctor.GetParameterTypes();
- }
-
- #region MemberInfo Overrides
- public override MemberTypes MemberType {
- get { return m_ctor.MemberType; }
- }
- public override string Name {
- get { return m_ctor.Name; }
- }
- public override Type DeclaringType {
- get { return m_type; }
- }
- public override Type ReflectedType {
- get { return m_type; }
- }
- public override object[] GetCustomAttributes(bool inherit)
- {
- return m_ctor.GetCustomAttributes(inherit);
- }
- public override object[] GetCustomAttributes(Type attributeType, bool inherit)
- {
- return m_ctor.GetCustomAttributes(attributeType, inherit);
- }
- public override bool IsDefined(Type attributeType, bool inherit)
- {
- return m_ctor.IsDefined(attributeType, inherit);
- }
- internal override int MetadataTokenInternal {
- get {
- throw new NotSupportedException();
- }
- }
- public override Module Module {
- get { return m_ctor.Module; }
- }
- public new Type GetType()
- {
- return base.GetType();
- }
- #endregion
-
- #region MethodBase Members
- public override ParameterInfo[] GetParameters()
- {
- return m_ctor.GetParameters();
- }
- public override MethodImplAttributes GetMethodImplementationFlags()
- {
- return m_ctor.GetMethodImplementationFlags();
- }
- public override RuntimeMethodHandle MethodHandle {
- get { return m_ctor.MethodHandle; }
- }
- public override MethodAttributes Attributes {
- get { return m_ctor.Attributes; }
- }
- public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
- {
- throw new NotSupportedException();
- }
- public override CallingConventions CallingConvention {
- get { return m_ctor.CallingConvention; }
- }
- public override Type[] GetGenericArguments()
- {
- return m_ctor.GetGenericArguments();
- }
- public override bool IsGenericMethodDefinition {
- get { return false; }
- }
- public override bool ContainsGenericParameters {
- get { return false; }
- }
-
- public override bool IsGenericMethod {
- get { return false; }
- }
- #endregion
-
- #region ConstructorInfo Members
- public override object Invoke(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
- {
- throw new InvalidOperationException();
- }
- #endregion
- }
-
- internal sealed class FieldOnTypeBuilderInstantiation : FieldInfo
- {
- #region Private Static Members
- private static Hashtable m_hashtable = new Hashtable();
- private struct Entry
- {
- public Entry(FieldInfo Field, TypeBuilderInstantiation type)
- {
- m_field = Field;
- m_type = type;
- }
-
- public FieldInfo m_field;
- public TypeBuilderInstantiation m_type;
-
- public override int GetHashCode()
- {
- return m_field.GetHashCode();
- }
-
- public override bool Equals(object o)
- {
- if (o is Entry)
- return Equals((Entry)o);
- else
- return false;
- }
-
- public bool Equals(Entry obj)
- {
- return obj.m_field == m_field && obj.m_type == m_type;
- }
- }
- static internal FieldInfo GetField(FieldInfo Field, TypeBuilderInstantiation type)
- {
- Entry entry = new Entry(Field, type);
-
- if (m_hashtable.Contains(entry))
- return m_hashtable[entry] as FieldInfo;
-
- FieldInfo m = new FieldOnTypeBuilderInstantiation(Field, type);
-
- m_hashtable[entry] = m;
- return m;
- }
- #endregion
-
- #region Private Data Members
- private FieldInfo m_field;
- private TypeBuilderInstantiation m_type;
- #endregion
-
- #region Constructor
- internal FieldOnTypeBuilderInstantiation(FieldInfo field, TypeBuilderInstantiation type)
- {
- m_field = field;
- m_type = type;
- }
- #endregion
-
- internal FieldInfo FieldInfo {
- get { return m_field; }
- }
-
- #region MemberInfo Overrides
- public override MemberTypes MemberType {
- get { return System.Reflection.MemberTypes.Field; }
- }
- public override string Name {
- get { return m_field.Name; }
- }
- public override Type DeclaringType {
- get { return m_type; }
- }
- public override Type ReflectedType {
- get { return m_type; }
- }
- public override object[] GetCustomAttributes(bool inherit)
- {
- return m_field.GetCustomAttributes(inherit);
- }
- public override object[] GetCustomAttributes(Type attributeType, bool inherit)
- {
- return m_field.GetCustomAttributes(attributeType, inherit);
- }
- public override bool IsDefined(Type attributeType, bool inherit)
- {
- return m_field.IsDefined(attributeType, inherit);
- }
- internal override int MetadataTokenInternal {
- get {
- throw new NotImplementedException();
- }
- }
- public override Module Module {
- get { return m_field.Module; }
- }
- public new Type GetType()
- {
- return base.GetType();
- }
- #endregion
-
- #region Public Abstract\Virtual Members
- public override Type[] GetRequiredCustomModifiers()
- {
- return m_field.GetRequiredCustomModifiers();
- }
- public override Type[] GetOptionalCustomModifiers()
- {
- return m_field.GetOptionalCustomModifiers();
- }
- public override void SetValueDirect(TypedReference obj, object value)
- {
- throw new NotImplementedException();
- }
- public override object GetValueDirect(TypedReference obj)
- {
- throw new NotImplementedException();
- }
- public override RuntimeFieldHandle FieldHandle {
- get {
- throw new NotImplementedException();
- }
- }
- public override Type FieldType {
- get {
- throw new NotImplementedException();
- }
- }
- public override object GetValue(object obj)
- {
- throw new InvalidOperationException();
- }
- public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
- {
- throw new InvalidOperationException();
- }
- public override FieldAttributes Attributes {
- get { return m_field.Attributes; }
- }
- #endregion
- }
- }