pregenEventLog=newBooleanSwitch("XmlSerialization.PregenEventLog","Log failures while loading pre-generated XmlSerialization assembly.");
}
returnpregenEventLog;
}
}
publicstaticTraceSwitchXmlSerialization{
get{
if(xmlSerialization==null){
xmlSerialization=newTraceSwitch("XmlSerialization","Enable tracing for the System.Xml.Serialization component.");
}
returnxmlSerialization;
}
}
publicstaticTraceSwitchXslTypeInference{
get{
if(xslTypeInference==null){
xslTypeInference=newTraceSwitch("XslTypeInference","Enable tracing for the XSLT type inference algorithm.");
}
returnxslTypeInference;
}
}
publicstaticBooleanSwitchNonRecursiveTypeLoading{
get{
if(nonRecursiveTypeLoading==null){
nonRecursiveTypeLoading=newBooleanSwitch("XmlSerialization.NonRecursiveTypeLoading","Turn on non-recursive algorithm generating XmlMappings for CLR types.");