Domanda
Sto cercando di convertire il codice da J# a C# utilizzando automaticamente lo strumento Dotpeek e ottengo il seguente codice. Cos'è Param0? Il codice non si compila per questo.
public XmlException(Xml this\u00240, string s)
: base(new StringBuffer().append("XmlParseError:").append(s).ToString())
{
this.this\u00240 = param0;
if (param0 == null)
ObjectImpl.getClass((object) param0);
this.parseString = s;
}
Il codice J# originale:
public XmlException( String s ) {
super( "XmlParseError:" + s );
this.parseString = s;
}
class XmlException extends Exception
Nessuna soluzione corretta
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow