mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
390 B
26 lines
390 B
internal class Issue3421 |
|
{ |
|
private string name; |
|
private object value; |
|
|
|
public virtual void SetValue(object value) |
|
{ |
|
switch (name) |
|
{ |
|
case "##Name##": |
|
return; |
|
case "##Value##": |
|
this.value = value; |
|
return; |
|
case "##InnerText##": |
|
this.value = value.ToString(); |
|
return; |
|
case null: |
|
return; |
|
} |
|
if (this.value == null) |
|
{ |
|
this.value = ""; |
|
} |
|
} |
|
}
|
|
|