Example #1
0
File: Method.cs Project: xcorail/ql
 public static void AddExplicitInterfaceQualifierToId(Context cx, ITrapBuilder tb, IEnumerable <ISymbol> explicitInterfaceImplementations)
 {
     if (explicitInterfaceImplementations.Any())
     {
         tb.AppendList(",", explicitInterfaceImplementations.Select(impl => cx.CreateEntity(impl.ContainingType)));
     }
 }
Example #2
0
File: Method.cs Project: xcorail/ql
 protected static void AddParametersToId(Context cx, ITrapBuilder tb, IMethodSymbol method)
 {
     tb.Append("(");
     tb.AppendList(",", AddParameterPartsToId(cx, tb, method));
     tb.Append(")");
 }