Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.reflect
  • Platforms: .NET, .NET Standard 2.0, Island

constructor

constructor(aType: PlatformType)
TypeImpl(PlatformType aType)
init(_ aType: PlatformType)
Sub New(aType As PlatformType)

Parameters:

  • aType:

Align

Function Align() As Int32

AssignableTo

method AssignableTo(u: Type): Boolean
Boolean AssignableTo(Type u)
func AssignableTo(_ u: Type) -> Boolean
func AssignableTo(u Type) Boolean
Function AssignableTo(u As Type) As Boolean

Parameters:

  • u:

Bits


ChanDir

func ChanDir() -> ChanDir
Function ChanDir() As ChanDir

Comparable

method Comparable: Boolean
func Comparable() -> Boolean
func Comparable() Boolean
Function Comparable() As Boolean

ConvertibleTo

method ConvertibleTo(u: Type): Boolean
Boolean ConvertibleTo(Type u)
func ConvertibleTo(_ u: Type) -> Boolean
func ConvertibleTo(u Type) Boolean
Function ConvertibleTo(u As Type) As Boolean

Parameters:

  • u:

Elem


Field

method Field(i: Int32): StructField
StructField Field(Int32 i)
func Field(_ i: Int32) -> StructField
func Field(i Int32) StructField
Function Field(i As Int32) As StructField

Parameters:

  • i:

FieldAlign

func FieldAlign() -> Int32
Function FieldAlign() As Int32

FieldByIndex

method FieldByIndex(i: Slice<Int64>): StructField
StructField FieldByIndex(Slice<Int64> i)
func FieldByIndex(_ i: Slice<Int64>) -> StructField
func FieldByIndex(i Slice<Int64>) StructField
Function FieldByIndex(i As Slice<Int64>) As StructField

Parameters:

  • i:

FieldByName

method FieldByName(aname: String): tuple of (StructField, Boolean)
(StructField, Boolean) FieldByName(String aname)
func FieldByName(_ aname: String) -> tuple of (StructField, Boolean)
func FieldByName(aname String) tuple of (StructField, Boolean)
Function FieldByName(aname As String) As Tuple (Of StructField, Boolean)

Parameters:

  • aname:

FieldByNameFunc

method FieldByNameFunc(match: Func<String, Boolean>): tuple of (StructField, Boolean)
(StructField, Boolean) FieldByNameFunc(Func<String, Boolean> match)
func FieldByNameFunc(_ match: Func<String, Boolean>) -> tuple of (StructField, Boolean)
func FieldByNameFunc(match Func<String, Boolean>) tuple of (StructField, Boolean)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Function FieldByNameFunc(match As Func (Of String, Boolean)) As Tuple (Of StructField, Boolean)
// Island-Android, Island-iOS Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Function FieldByNameFunc(match As Func<String, Boolean>) As Tuple (Of StructField, Boolean)

Parameters:

  • match:

Implements

method Implements(u: Type): Boolean
Boolean Implements(Type u)
func Implements(_ u: Type) -> Boolean
func Implements(u Type) Boolean
Function Implements(u As Type) As Boolean

Parameters:

  • u:

In

method In(i: Int32): Type
func In(_ i: Int32) -> Type
Function In(i As Int32) As Type

Parameters:

  • i:

IsVariadic

method IsVariadic: Boolean
func IsVariadic() -> Boolean
func IsVariadic() Boolean
Function IsVariadic() As Boolean

Key


Kind


Len


Method

method Method(i: Int32): Method
func Method(_ i: Int32) -> Method
func Method(i Int32) Method
Function Method(i As Int32) As Method

Parameters:

  • i:

MethodByName

method MethodByName(s: String): tuple of (Method, Boolean)
(Method, Boolean) MethodByName(String s)
func MethodByName(_ s: String) -> tuple of (Method, Boolean)
func MethodByName(s String) tuple of (Method, Boolean)
Function MethodByName(s As String) As Tuple (Of Method, Boolean)

Parameters:

  • s:

Name

Function Name() As String

NumField

Function NumField() As Int32

NumIn

Function NumIn() As Int32

NumMethod

func NumMethod() -> Int32
Function NumMethod() As Int32

NumOut

Function NumOut() As Int32

Out

method Out(i: Int32): Type
func Out(_ i: Int32) -> Type
Function Out(i As Int32) As Type

Parameters:

  • i:

PkgPath

Function PkgPath() As String

RealType

property RealType: PlatformType read;
PlatformType RealType { get; }
var RealType: PlatformType { get{} }
ReadOnly Property RealType() As PlatformType

Size

Function Size() As UIntPtr

String

Function String() As String

RealType

property RealType: PlatformType read;
PlatformType RealType { get; }
var RealType: PlatformType { get{} }
ReadOnly Property RealType() As PlatformType

constructor

constructor(aType: PlatformType)
TypeImpl(PlatformType aType)
init(_ aType: PlatformType)
Sub New(aType As PlatformType)

Parameters:

  • aType:

Align

Function Align() As Int32

AssignableTo

method AssignableTo(u: Type): Boolean
Boolean AssignableTo(Type u)
func AssignableTo(_ u: Type) -> Boolean
func AssignableTo(u Type) Boolean
Function AssignableTo(u As Type) As Boolean

Parameters:

  • u:

Bits


ChanDir

func ChanDir() -> ChanDir
Function ChanDir() As ChanDir

Comparable

method Comparable: Boolean
func Comparable() -> Boolean
func Comparable() Boolean
Function Comparable() As Boolean

ConvertibleTo

method ConvertibleTo(u: Type): Boolean
Boolean ConvertibleTo(Type u)
func ConvertibleTo(_ u: Type) -> Boolean
func ConvertibleTo(u Type) Boolean
Function ConvertibleTo(u As Type) As Boolean

Parameters:

  • u:

Elem


Field

method Field(i: Int32): StructField
StructField Field(Int32 i)
func Field(_ i: Int32) -> StructField
func Field(i Int32) StructField
Function Field(i As Int32) As StructField

Parameters:

  • i:

FieldAlign

func FieldAlign() -> Int32
Function FieldAlign() As Int32

FieldByIndex

method FieldByIndex(i: Slice<Int64>): StructField
StructField FieldByIndex(Slice<Int64> i)
func FieldByIndex(_ i: Slice<Int64>) -> StructField
func FieldByIndex(i Slice<Int64>) StructField
Function FieldByIndex(i As Slice<Int64>) As StructField

Parameters:

  • i:

FieldByName

method FieldByName(aname: String): tuple of (StructField, Boolean)
(StructField, Boolean) FieldByName(String aname)
func FieldByName(_ aname: String) -> tuple of (StructField, Boolean)
func FieldByName(aname String) tuple of (StructField, Boolean)
Function FieldByName(aname As String) As Tuple (Of StructField, Boolean)

Parameters:

  • aname:

FieldByNameFunc

method FieldByNameFunc(match: Func<String, Boolean>): tuple of (StructField, Boolean)
(StructField, Boolean) FieldByNameFunc(Func<String, Boolean> match)
func FieldByNameFunc(_ match: Func<String, Boolean>) -> tuple of (StructField, Boolean)
func FieldByNameFunc(match Func<String, Boolean>) tuple of (StructField, Boolean)
// .NET, .NET Standard 2.0, Island-watchOS-armv7k
Function FieldByNameFunc(match As Func (Of String, Boolean)) As Tuple (Of StructField, Boolean)
// Island-Android, Island-iOS Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-macOS, Island-tvOS Simulator, Island-tvOS-arm64, Island-Ubuntu, Island-watchOS Simulator, Island-watchOS-arm64_32, Island-Windows
Function FieldByNameFunc(match As Func<String, Boolean>) As Tuple (Of StructField, Boolean)

Parameters:

  • match:

Implements

method Implements(u: Type): Boolean
Boolean Implements(Type u)
func Implements(_ u: Type) -> Boolean
func Implements(u Type) Boolean
Function Implements(u As Type) As Boolean

Parameters:

  • u:

In

method In(i: Int32): Type
func In(_ i: Int32) -> Type
Function In(i As Int32) As Type

Parameters:

  • i:

IsVariadic

method IsVariadic: Boolean
func IsVariadic() -> Boolean
func IsVariadic() Boolean
Function IsVariadic() As Boolean

Key


Kind


Len


Method

method Method(i: Int32): Method
func Method(_ i: Int32) -> Method
func Method(i Int32) Method
Function Method(i As Int32) As Method

Parameters:

  • i:

MethodByName

method MethodByName(s: String): tuple of (Method, Boolean)
(Method, Boolean) MethodByName(String s)
func MethodByName(_ s: String) -> tuple of (Method, Boolean)
func MethodByName(s String) tuple of (Method, Boolean)
Function MethodByName(s As String) As Tuple (Of Method, Boolean)

Parameters:

  • s:

Name

Function Name() As String

NumField

Function NumField() As Int32

NumIn

Function NumIn() As Int32

NumMethod

func NumMethod() -> Int32
Function NumMethod() As Int32

NumOut

Function NumOut() As Int32

Out

method Out(i: Int32): Type
func Out(_ i: Int32) -> Type
Function Out(i As Int32) As Type

Parameters:

  • i:

PkgPath

Function PkgPath() As String

Size

Function Size() As UIntPtr

String

Function String() As String