//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void considerType(Class typeToConsider) throws org.eclipse.wst.xml.xpath2.processor.DynamicError public virtual void considerType(Type typeToConsider) { Type baseType = substitute(typeToConsider); if (baseType == null) { throw DynamicError.argument_type_error(typeToConsider); } if (targetType == null) { targetType = baseType; } else { if (!checkCombination(baseType)) { throw DynamicError.argument_type_error(typeToConsider); } } }