@@ -10,7 +10,8 @@ internal static class ITypeSymbolExtensions
1010 public static bool IsICollection1 ( this INamedTypeSymbol typeSymbol ) =>
1111 typeSymbol is
1212 {
13- MetadataName : "ICollection`1" ,
13+ Arity : 1 ,
14+ Name : "ICollection" ,
1415 ContainingNamespace :
1516 {
1617 Name : "Generic" ,
@@ -29,7 +30,8 @@ typeSymbol is
2930 public static bool IsIReadOnlyCollection1 ( this INamedTypeSymbol typeSymbol ) =>
3031 typeSymbol is
3132 {
32- MetadataName : "IReadOnlyCollection`1" ,
33+ Arity : 1 ,
34+ Name : "IReadOnlyCollection" ,
3335 ContainingNamespace :
3436 {
3537 Name : "Generic" ,
@@ -148,7 +150,8 @@ typeSymbol is INamedTypeSymbol
148150 public static bool IsValidationResult ( this INamedTypeSymbol ? typeSymbol ) =>
149151 typeSymbol is
150152 {
151- MetadataName : "ValidationResult" ,
153+ Arity : 0 ,
154+ Name : "ValidationResult" ,
152155 ContainingNamespace :
153156 {
154157 Name : "Shared" ,
@@ -167,7 +170,8 @@ typeSymbol is
167170 public static bool IsIValidationTarget ( this INamedTypeSymbol ? typeSymbol ) =>
168171 typeSymbol is
169172 {
170- MetadataName : "IValidationTarget`1" ,
173+ Arity : 1 ,
174+ Name : "IValidationTarget" ,
171175 ContainingNamespace :
172176 {
173177 Name : "Shared" ,
@@ -244,7 +248,8 @@ typeSymbol is
244248 public static bool IsValidationBehavior ( [ NotNullWhen ( returnValue : true ) ] this INamedTypeSymbol ? typeSymbol ) =>
245249 typeSymbol is
246250 {
247- MetadataName : "ValidationBehavior`2" ,
251+ Arity : 2 ,
252+ Name : "ValidationBehavior" ,
248253 ContainingNamespace :
249254 {
250255 Name : "Shared" ,
0 commit comments