示例#1
0
文件: Method.cs 项目: 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)));
     }
 }
示例#2
0
文件: Method.cs 项目: xcorail/ql
 protected static void AddParametersToId(Context cx, ITrapBuilder tb, IMethodSymbol method)
 {
     tb.Append("(");
     tb.AppendList(",", AddParameterPartsToId(cx, tb, method));
     tb.Append(")");
 }