예제 #1
0
 /// <summary>
 /// Checks if the given type is a string type.
 /// </summary>
 /// <param name="type">The type symbol to check.</param>
 /// <returns><code>True</code> if the given type symbol is a string type.</returns>
 public static bool IsStringType(this ITypeSymbol type)
 {
     return(StringType.IsType(type));
 }