MoreInternals.Current.GetWarnings C# (CSharp) Method

GetWarnings() public static method

public static GetWarnings ( ErrorType ofType ) : List
ofType ErrorType
return List
        public static List<Error> GetWarnings(ErrorType ofType)
        {
            if (!HasWarnings()) return new List<Error>();

            var warning = InnerContext.Value.Warnings;
            List<Error> ret;
            if (!warning.TryGetValue(ofType, out ret)) return new List<Error>();

            return ret;
        }