Interface IMethodDeclaration
Method declaration
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Compiler.CodeModel
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public interface IMethodDeclaration : IMethodReference, IMethodSignature, IGenericArgumentProvider, IMemberDeclaration, IMemberReference, IComparable, ICustomAttributeProvider, IDocumentationProvider
Properties
Abstract
Abstract flag
Declaration
bool Abstract { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Body
Method body
Declaration
IBlockStatement Body { get; set; }
Property Value
Type | Description |
---|---|
IBlockStatement |
Final
Final flag
Declaration
bool Final { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
NewSlot
For a virtual method, indicates whether the method is 'new' versus 'override'
Declaration
bool NewSlot { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Override flag
Declaration
bool Overrides { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Static
Static flag
Declaration
bool Static { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Virtual
Virtual flag
Declaration
bool Virtual { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Visibility
Visibility
Declaration
MethodVisibility Visibility { get; set; }
Property Value
Type | Description |
---|---|
MethodVisibility |