System.Linq.Dynamic.ExpressionParser.SelfAndBaseTypes C# (CSharp) Method

SelfAndBaseTypes() private static method

private static SelfAndBaseTypes ( Type type ) : IEnumerable
type Type
return IEnumerable
		private static IEnumerable<Type> SelfAndBaseTypes(Type type)
		{
			if (type.IsInterface)
			{
				var types = new HashSet<Type>();
				AddInterface(types, type);
				return types;
			}
			return SelfAndBaseClasses(type);
		}
ExpressionParser