OperatorDeclaration Class

Represents an operator overload declaration.

public class OperatorDeclaration : MemberDeclaration
Inheritance
MemberDeclaration OperatorDeclaration

Constructors

NameDescription
OperatorDeclaration()
OperatorDeclaration(string?)

OperatorDeclaration overloads

OperatorDeclaration()

OperatorDeclaration.cs
public OperatorDeclaration()

No documentation is available.

OperatorDeclaration(string?)

OperatorDeclaration.cs
public OperatorDeclaration(string? name)
Parameters
name string?

No documentation is available.

Properties

NameDescription
Arguments
Modifiers
ReturnType
Statements
public MethodArgumentCollection Arguments { get; }

No documentation is available.

public Modifiers Modifiers { get; set; }

Property value

Modifiers

No documentation is available.

public TypeReference? ReturnType { get; set; }

Property value

TypeReference?

No documentation is available.

public StatementCollection Statements { get; }

Property value

StatementCollection

No documentation is available.