public bool IsConstructor()
{
return _methKind == MethodKindEnum.Constructor;
}
public ExprMethodInfo CreateMethodInfo(MethodSymbol method, AggregateType methodType, TypeArray methodParameters) { Debug.Assert(method != null); Debug.Assert(methodType != null); ExprMethodInfo methodInfo = new ExprMethodInfo( GetTypes().GetOptPredefAgg(method.IsConstructor() ? PredefinedType.PT_CONSTRUCTORINFO : PredefinedType.PT_METHODINFO).getThisType()); methodInfo.Method = new MethWithInst(method, methodType, methodParameters); return(methodInfo); }