Пример #1
0
 public IMethodSignatureMember FindBySig(string name, int typeParamCount, params IType[] parameterTypes)
 {
     return(this.FindBySig(name, typeParamCount, CodeGeneratorHelper.GetTypeReferences(parameterTypes)));
 }
Пример #2
0
 public IMethodSignatureMember FindBySig(string name, params IType[] parameterTypes)
 {
     return(FindBySig(name, CodeGeneratorHelper.GetTypeReferences(parameterTypes)));
 }
Пример #3
0
 IMethodSignatureMember <IMethodSignatureParameterMember, IMethodSignatureTypeParameterMember, CodeMemberMethod, ISignatureMemberParentType> IMethodSignatureMembers <IMethodSignatureParameterMember, IMethodSignatureTypeParameterMember, CodeMemberMethod, ISignatureMemberParentType> .FindBySig(string name, int typeParamCount, params IType[] parameterTypes)
 {
     return(this.FindBySig(name, typeParamCount, CodeGeneratorHelper.GetTypeReferences(parameterTypes)));
 }
Пример #4
0
 /// <summary>
 /// Creates a new instance of <see cref="TypeConstrainedName"/> with the <paramref name="name"/>,
 /// <paramref name="typeReferences"/> and <paramref name="requiresConstructor"/> provided.
 /// </summary>
 /// <param name="name">The name of the <see cref="TypeConstrainedName"/>.</param>
 /// <param name="typeReferences">The series of <see cref="IType"/>s that are strung
 /// together into <see cref="ITypeReference"/>s which denote the constraints
 /// set forth on the <see cref="TypeConstrainedName"/>.</param>
 /// <param name="requiresConstructor">Whether the <see cref="TypeConstrainedName"/>
 /// requires an empty-parameter constructor.</param>
 public TypeConstrainedName(string name, bool requiresConstructor, TypeParameterSpecialCondition specialCondition, params IType[] typeReferences)
     : this(name, requiresConstructor, specialCondition, CodeGeneratorHelper.GetTypeReferences(typeReferences))
 {
 }