System.Runtime.Serialization.XmlFormatWriterGenerator.XmlFormatWriterGenerator.CriticalHelper.NeedsPrefix C# (CSharp) Method

NeedsPrefix() private method

private NeedsPrefix ( Type type, XmlDictionaryString ns ) : bool
type System.Type
ns System.Xml.XmlDictionaryString
return bool
            private bool NeedsPrefix(Type type, XmlDictionaryString ns)
            {
                return type == Globals.TypeOfXmlQualifiedName && (ns != null && ns.Value != null && ns.Value.Length > 0);
            }