ICSharpCode.NRefactory.MonoCSharp.TypeDefinition.LookupNestedTypeInHierarchy C# (CSharp) Method

LookupNestedTypeInHierarchy() private method

private LookupNestedTypeInHierarchy ( string name, int arity ) : System.TypeSpec
name string
arity int
return System.TypeSpec
		TypeSpec LookupNestedTypeInHierarchy (string name, int arity)
		{
			// Has any nested type
			// Does not work, because base type can have
			//if (PartialContainer.Types == null)
			//	return null;

			var container = PartialContainer.CurrentType;
			return MemberCache.FindNestedType (container, name, arity);
		}