internal static TempAssembly?GenerateTempAssembly(XmlMapping xmlMapping, Type?type, string?defaultNamespace, string?location)
{
if (xmlMapping == null)
{
throw new ArgumentNullException(nameof(xmlMapping));
}
xmlMapping.CheckShallow();
if (xmlMapping.IsSoap)
{
return(null);
}
return(new TempAssembly(new XmlMapping[] { xmlMapping }, new Type?[] { type }, defaultNamespace, location));
}