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.
27 lines
698 B
27 lines
698 B
// created on 06.08.2003 at 12:30 |
|
|
|
using ICSharpCode.SharpDevelop.Dom; |
|
using ICSharpCode.NRefactory.Parser.AST; |
|
|
|
namespace ICSharpCode.SharpDevelop.Dom.NRefactoryResolver |
|
{ |
|
public class Event : AbstractEvent |
|
{ |
|
public void AddModifier(ModifierEnum m) |
|
{ |
|
modifiers = modifiers | m; |
|
} |
|
|
|
public Event(string name, ReturnType type, Modifier m, IRegion region, IRegion bodyRegion, IClass declaringType) : base(declaringType) |
|
{ |
|
FullyQualifiedName = name; |
|
returnType = type; |
|
this.region = region; |
|
this.bodyRegion = bodyRegion; |
|
modifiers = (ModifierEnum)m; |
|
if (modifiers == ModifierEnum.None) { |
|
modifiers = ModifierEnum.Private; |
|
} |
|
} |
|
} |
|
}
|
|
|