Table of Contents

Class MethodBase

Namespace
LinqToDB.CodeModel
Assembly
linq2db.Tools.dll

Base class for method-like nodes.

public abstract class MethodBase : AttributeOwner, ICodeElement
Inheritance
MethodBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

MethodBase(IEnumerable<CodeAttribute>?, Modifiers, CodeBlock?, CodeXmlComment?, IEnumerable<CodeParameter>?)

protected MethodBase(IEnumerable<CodeAttribute>? customAttributes, Modifiers attributes, CodeBlock? body, CodeXmlComment? xmlDoc, IEnumerable<CodeParameter>? parameters)

Parameters

customAttributes IEnumerable<CodeAttribute>
attributes Modifiers
body CodeBlock
xmlDoc CodeXmlComment
parameters IEnumerable<CodeParameter>

Properties

Attributes

Method modifiers.

public Modifiers Attributes { get; }

Property Value

Modifiers

Body

Method body (top-level block).

public CodeBlock? Body { get; }

Property Value

CodeBlock

Parameters

Parameters collection.

public IReadOnlyList<CodeParameter> Parameters { get; }

Property Value

IReadOnlyList<CodeParameter>

XmlDoc

Xml-documentation comment.

public CodeXmlComment? XmlDoc { get; }

Property Value

CodeXmlComment