MethodRef Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MethodRef(ConstructorInfo, Resolver)
- Source:
- MethodRef.cs
- Source:
- MethodRef.cs
protected MethodRef (System.Reflection.ConstructorInfo constructor, Microsoft.VisualStudio.Composition.Resolver resolver);
new Microsoft.VisualStudio.Composition.Reflection.MethodRef : System.Reflection.ConstructorInfo * Microsoft.VisualStudio.Composition.Resolver -> Microsoft.VisualStudio.Composition.Reflection.MethodRef
Protected Sub New (constructor As ConstructorInfo, resolver As Resolver)
Parameters
- constructor
- ConstructorInfo
- resolver
- Resolver
Applies to
MethodRef(MethodBase, Resolver)
- Source:
- MethodRef.cs
- Source:
- MethodRef.cs
public MethodRef (System.Reflection.MethodBase method, Microsoft.VisualStudio.Composition.Resolver resolver);
new Microsoft.VisualStudio.Composition.Reflection.MethodRef : System.Reflection.MethodBase * Microsoft.VisualStudio.Composition.Resolver -> Microsoft.VisualStudio.Composition.Reflection.MethodRef
Public Sub New (method As MethodBase, resolver As Resolver)
Parameters
- method
- MethodBase
- resolver
- Resolver
Applies to
MethodRef(MethodBase, Resolver, ImmutableArray<TypeRef>)
- Source:
- MethodRef.cs
- Source:
- MethodRef.cs
public MethodRef (System.Reflection.MethodBase method, Microsoft.VisualStudio.Composition.Resolver resolver, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> parameterTypes);
new Microsoft.VisualStudio.Composition.Reflection.MethodRef : System.Reflection.MethodBase * Microsoft.VisualStudio.Composition.Resolver * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> -> Microsoft.VisualStudio.Composition.Reflection.MethodRef
Public Sub New (method As MethodBase, resolver As Resolver, parameterTypes As ImmutableArray(Of TypeRef))
Parameters
- method
- MethodBase
- resolver
- Resolver
- parameterTypes
- ImmutableArray<TypeRef>
Applies to
MethodRef(TypeRef, Int32, String, Boolean, ImmutableArray<TypeRef>, ImmutableArray<TypeRef>)
- Source:
- MethodRef.cs
- Source:
- MethodRef.cs
public MethodRef (Microsoft.VisualStudio.Composition.Reflection.TypeRef declaringType, int metadataToken, string name, bool isStatic, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> parameterTypes, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> genericMethodArguments);
new Microsoft.VisualStudio.Composition.Reflection.MethodRef : Microsoft.VisualStudio.Composition.Reflection.TypeRef * int * string * bool * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Composition.Reflection.TypeRef> -> Microsoft.VisualStudio.Composition.Reflection.MethodRef
Public Sub New (declaringType As TypeRef, metadataToken As Integer, name As String, isStatic As Boolean, parameterTypes As ImmutableArray(Of TypeRef), genericMethodArguments As ImmutableArray(Of TypeRef))
Parameters
- declaringType
- TypeRef
- metadataToken
- Int32
- name
- String
- isStatic
- Boolean
- parameterTypes
- ImmutableArray<TypeRef>
- genericMethodArguments
- ImmutableArray<TypeRef>