IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Reflection.TypeName Struct Reference
Inheritance diagram for IKVM.Reflection.TypeName:

Public Member Functions

override int GetHashCode ()
 
override bool Equals (object obj)
 
override string ToString ()
 
bool IEquatable< TypeName >. Equals (TypeName other)
 

Static Public Member Functions

static bool operator== (TypeName o1, TypeName o2)
 
static bool operator!= (TypeName o1, TypeName o2)
 

Public Attributes

readonly string ns
 
readonly string name
 

Detailed Description

Definition at line 32 of file TypeName.cs.

Member Function Documentation

◆ Equals() [1/2]

override bool IKVM.Reflection.TypeName.Equals ( object obj)

Definition at line 66 of file TypeName.cs.

67 {
68 var other = obj as TypeName?;
69 return other != null && other.Value == this;
70 }

◆ Equals() [2/2]

bool IEquatable< TypeName >. IKVM.Reflection.TypeName.Equals ( TypeName other)

Definition at line 77 of file TypeName.cs.

78 {
79 return this == other;
80 }

◆ GetHashCode()

override int IKVM.Reflection.TypeName.GetHashCode ( )

◆ operator!=()

static bool IKVM.Reflection.TypeName.operator!= ( TypeName o1,
TypeName o2 )
static

Definition at line 40 of file TypeName.cs.

41 {
42 return o1.ns != o2.ns || o1.name != o2.name;
43 }

◆ operator==()

static bool IKVM.Reflection.TypeName.operator== ( TypeName o1,
TypeName o2 )
static

Definition at line 35 of file TypeName.cs.

36 {
37 return o1.ns == o2.ns && o1.name == o2.name;
38 }

◆ ToString()

override string IKVM.Reflection.TypeName.ToString ( )

Definition at line 72 of file TypeName.cs.

73 {
74 return ns == null ? name : ns + "." + name;
75 }
readonly string name
Definition TypeName.cs:46
readonly string ns
Definition TypeName.cs:45

Member Data Documentation

◆ name

readonly string IKVM.Reflection.TypeName.name

Definition at line 46 of file TypeName.cs.

◆ ns

readonly string IKVM.Reflection.TypeName.ns

Definition at line 45 of file TypeName.cs.


The documentation for this struct was generated from the following file: