.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
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.
 
 
 
 

55 lines
945 B

// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
namespace ICSharpCode.SharpDevelop.Dom
{
public interface IAttribute : IFreezable
{
/// <summary>
/// Gets the compilation unit in which this attribute is defined.
/// </summary>
ICompilationUnit CompilationUnit {
get;
}
/// <summary>
/// Gets the code region of this attribute.
/// </summary>
DomRegion Region {
get;
}
AttributeTarget AttributeTarget {
get;
}
IReturnType AttributeType {
get;
}
IList<object> PositionalArguments {
get;
}
IDictionary<string, object> NamedArguments {
get;
}
}
public enum AttributeTarget
{
None,
Assembly,
Field,
Event,
Method,
Module,
Param,
Property,
Return,
Type
}
}