private static void CheckIfPropertyIsSupported()

in src/Microsoft.NET.Sdk.Functions.Generator/AttributeExtensions.cs [180:190]


        private static void CheckIfPropertyIsSupported(string attributeName, PropertyInfo property)
        {
            var propertyName = property.Name;
            if (attributeName == "TimerTriggerAttribute")
            {
                if (propertyName == "ScheduleType")
                {
                    throw new NotImplementedException($"Property '{propertyName}' on attribute '{attributeName}' is not supported in Azure Functions.");
                }
            }
        }