System.Uri.AllowIdnStatic C# (CSharp) Method

AllowIdnStatic() private method

private AllowIdnStatic ( UriParser syntax, Flags flags ) : bool
syntax UriParser
flags Flags
return bool
        private bool AllowIdnStatic(UriParser syntax, Flags flags)
        {
            return ((syntax != null) && ((syntax.Flags & UriSyntaxFlags.AllowIdn) != 0) &&
                   ((s_IdnScope == UriIdnScope.All) || ((s_IdnScope == UriIdnScope.AllExceptIntranet)
                                                                            && StaticNotAny(flags, Flags.IntranetUri))));
        }