Skip to main content

INamedTypeSymbol Interface Extensions

Extension MethodSummary
FindMember<TSymbol>(INamedTypeSymbol, Func<TSymbol, Boolean>, Boolean)Searches for a member that matches the conditions defined by the specified predicate and returns the first occurrence within the type's members.
FindMember<TSymbol>(INamedTypeSymbol, String, Func<TSymbol, Boolean>, Boolean)Searches for a member that has the specified name and matches the conditions defined by the specified predicate, if any, and returns the first occurrence within the type's members.
FindTypeMember(INamedTypeSymbol, Func<INamedTypeSymbol, Boolean>, Boolean)Searches for a type member that matches the conditions defined by the specified predicate and returns the first occurrence within the type's members.
FindTypeMember(INamedTypeSymbol, String, Func<INamedTypeSymbol, Boolean>, Boolean)Searches for a type member that has the specified name and matches the conditions defined by the specified predicate, if any, and returns the first occurrence within the type's members.
FindTypeMember(INamedTypeSymbol, String, Int32, Func<INamedTypeSymbol, Boolean>, Boolean)Searches for a type member that has the specified name, arity and matches the conditions defined by the specified predicate, if any, and returns the first occurrence within the type's members.
IsNullableOf(INamedTypeSymbol, ITypeSymbol)Returns true if the type is Nullable<T> and it has specified type argument.
IsNullableOf(INamedTypeSymbol, SpecialType)Returns true if the type is Nullable<T> and it has specified type argument.