ApprovalTests.Namers.StackTraceParsers.AttributeStackTraceParser.GetRecursiveTypeName C# (CSharp) Method

GetRecursiveTypeName() private static method

private static GetRecursiveTypeName ( Type type ) : string
type System.Type
return string
	    private static string GetRecursiveTypeName(Type type)
	    {
	        return type.DeclaringType != null 
                ? $"{GetRecursiveTypeName(type.DeclaringType)}.{type.Name}" 
                : type.Name;
	    }
	}