示例#1
0
 internal bool HasUseSiteDiagnosticToReportFor(Symbol symbol)
 {
     // There is a use site diagnostic to report here, but it is not reported
     // just because this member was a candidate - only if it "wins".
     return(!SuppressUseSiteDiagnosticsForKind(this.Kind) &&
            (object)symbol != null && symbol.GetUseSiteInfo().DiagnosticInfo != null);
 }