CSharpType

io.joern.csharpsrc2cpg.datastructures.CSharpType
case class CSharpType(name: String, methods: List[CSharpMethod], fields: List[CSharpField]) extends TypeLike[CSharpMethod, CSharpField]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait TypeLike[CSharpMethod, CSharpField]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def +(o: TypeLike[CSharpMethod, CSharpField]): TypeLike[CSharpMethod, CSharpField]

Adds the contents of the two types and produces a new type.

Adds the contents of the two types and produces a new type.

Value parameters

o

the other type-like.

Attributes

Returns

a type-like that is the combination of the two, with precedence to colliding contents to this type (LHS).

Definition Classes
TypeLike

Inherited methods

protected def mergeFields(o: TypeLike[_, CSharpField]): List[CSharpField]

Helper method for creating the sum of two type-like's fields, while preferring this types' fields on collisions.

Helper method for creating the sum of two type-like's fields, while preferring this types' fields on collisions.

Value parameters

o

the other type-like.

Attributes

Returns

the combination of the two type-like's fields.

Inherited from:
TypeLike
protected def mergeMethods(o: TypeLike[CSharpMethod, _]): List[CSharpMethod]

Helper method for creating the sum of two type-like's methods, while preferring this types' methods on collisions.

Helper method for creating the sum of two type-like's methods, while preferring this types' methods on collisions.

Value parameters

o

the other type-like.

Attributes

Returns

the combination of the two type-like's methods.

Inherited from:
TypeLike
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product