AddSpecReference() private method

private AddSpecReference ( ISymbol symbol, IReadOnlyList typeGenericParameters, IReadOnlyList methodGenericParameters, ReferenceItem>.Dictionary references, SymbolVisitorAdapter adapter ) : string
symbol ISymbol
typeGenericParameters IReadOnlyList
methodGenericParameters IReadOnlyList
references ReferenceItem>.Dictionary
adapter SymbolVisitorAdapter
return string
Beispiel #1
0
 public string AddSpecReference(
     ISymbol symbol,
     IReadOnlyList <string> typeGenericParameters   = null,
     IReadOnlyList <string> methodGenericParameters = null)
 {
     return(_generator.AddSpecReference(symbol, typeGenericParameters, methodGenericParameters, _references, this));
 }
Beispiel #2
0
 public string AddSpecReference(
     ISymbol symbol,
     IReadOnlyList <string> typeGenericParameters   = null,
     IReadOnlyList <string> methodGenericParameters = null)
 {
     try
     {
         return(_generator.AddSpecReference(symbol, typeGenericParameters, methodGenericParameters, _references, this));
     }
     catch (Exception ex)
     {
         throw new DocfxException($"Unable to generate spec reference for {VisitorHelper.GetCommentId(symbol)}", ex);
     }
 }