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

Public Member Functions

void System.Collections.IEnumerator. Reset ()
 
bool MoveNext ()
 
void IDisposable. Dispose ()
 

Public Attributes

readonly Type[] types
 
int index
 
bool required
 

Properties

Entry Current [get]
 
object System.Collections.IEnumerator. Current [get]
 

Detailed Description

Definition at line 40 of file CustomModifiers.cs.

Member Function Documentation

◆ Dispose()

void IDisposable. IKVM.Reflection.CustomModifiers.Enumerator.Dispose ( )

Definition at line 93 of file CustomModifiers.cs.

94 {
95
96 }

◆ MoveNext()

bool IKVM.Reflection.CustomModifiers.Enumerator.MoveNext ( )

Definition at line 66 of file CustomModifiers.cs.

67 {
68 if (types == null || index == types.Length)
69 return false;
70
71 index++;
72
73 if (index == types.Length)
74 {
75 return false;
76 }
77 else if (types[index] == MarkerType.ModOpt)
78 {
79 required = false;
80 index++;
81 }
82 else if (types[index] == MarkerType.ModReq)
83 {
84 required = true;
85 index++;
86 }
87
88 return true;
89 }

◆ Reset()

void System.Collections.IEnumerator. IKVM.Reflection.CustomModifiers.Enumerator.Reset ( )

Definition at line 58 of file CustomModifiers.cs.

59 {
60 this.index = -1;
61 this.required = Initial == MarkerType.ModReq;
62 }

Member Data Documentation

◆ index

int IKVM.Reflection.CustomModifiers.Enumerator.index

Definition at line 44 of file CustomModifiers.cs.

◆ required

bool IKVM.Reflection.CustomModifiers.Enumerator.required

Definition at line 45 of file CustomModifiers.cs.

◆ types

readonly Type [] IKVM.Reflection.CustomModifiers.Enumerator.types

Definition at line 43 of file CustomModifiers.cs.

Property Documentation

◆ Current [1/2]

Entry IKVM.Reflection.CustomModifiers.Enumerator.Current
get

Definition at line 64 of file CustomModifiers.cs.

◆ Current [2/2]

object System.Collections.IEnumerator. IKVM.Reflection.CustomModifiers.Enumerator.Current
get

Definition at line 91 of file CustomModifiers.cs.


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