Example #1
0
 private static IExpectedTypeConstraint GuessTypesForUsages(IEnumerable <ICSharpExpression> usages)
 {
     return(ExpectedTypesUtil.GuessTypesIntersection(usages.Cast <IExpression>().ToList()));
 }
 private static IExpectedTypeConstraint GuessTypesForUsages(IList <ICSharpExpression> usages)
 {
     return(ExpectedTypesUtil.GuessTypes(
                usages.ConvertList <ICSharpExpression, IExpression>()));
 }