Antlr4.Runtime.Misc.RuleDependencyChecker.GetElementDependencies C# (CSharp) Method

GetElementDependencies() private static method

private static GetElementDependencies ( ICustomAttributeProvider annotatedElement, ICustomAttributeProvider>.IList result ) : void
annotatedElement ICustomAttributeProvider
result ICustomAttributeProvider>.IList
return void
        private static void GetElementDependencies(ICustomAttributeProvider annotatedElement, IList<Tuple<RuleDependencyAttribute, ICustomAttributeProvider>> result)
        {
            foreach (RuleDependencyAttribute dependency in annotatedElement.GetCustomAttributes(typeof(RuleDependencyAttribute), true))
            {
                result.Add(Tuple.Create(dependency, annotatedElement));
            }
        }