private static bool IsBridgeClass(ITypeSymbol type, string className)
{
if (type == null)
throw new ArgumentNullException(nameof(type));
if (string.IsNullOrWhiteSpace(className))
throw new ArgumentException($"Null/blank {nameof(className)} specified");
return
(type.ContainingAssembly.Identity.Name == "Bridge") &&
(type.Name == className);
}