mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* EnumConverter.cs: Fixed signature * EventDescriptorCollection.cs: Fixed signature * InheritanceLevel.cs: Fixed enum values; little restyling * License.cs: Removed undefined member * LicenseManager.cs: Fixed signature, little implementation added * PropertyDescriptorCollection.cs: Removed unused field (fixes last remaining compiler warning in this namespace) * WarningException.cs: Removed wrong attribute * Win32Exception.cs: Added missing attribute svn path=/trunk/mcs/; revision=15956
49 lines
817 B
C#
49 lines
817 B
C#
//
|
|
// System.ComponentModel.WarningException.cs
|
|
//
|
|
// Author:
|
|
// Asier Llano Palacios ([email protected])
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.ComponentModel {
|
|
|
|
public class WarningException : SystemException
|
|
{
|
|
private string helpUrl;
|
|
private string helpTopic;
|
|
|
|
public WarningException( string message )
|
|
: base( message ) {
|
|
helpUrl = null;
|
|
helpTopic = null;
|
|
}
|
|
|
|
public WarningException( string message, string helpUrl )
|
|
: base( message ) {
|
|
this.helpUrl = helpUrl;
|
|
this.helpTopic = null;
|
|
}
|
|
|
|
public WarningException( string message, string helpUrl, string helpTopic ) {
|
|
this.helpUrl = helpUrl;
|
|
this.helpTopic = helpTopic;
|
|
}
|
|
|
|
public string HelpTopic {
|
|
get {
|
|
return helpTopic;
|
|
}
|
|
}
|
|
|
|
public string HelpUrl {
|
|
get {
|
|
return helpUrl;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|