BinaryRangeSearch() static private method

static private BinaryRangeSearch ( Mono.Cecil.TypeDefinition types, uint rid, bool field ) : Mono.Cecil.TypeDefinition
types Mono.Cecil.TypeDefinition
rid uint
field bool
return Mono.Cecil.TypeDefinition
Example #1
0
 public TypeDefinition GetMethodDeclaringType(uint method_rid)
 {
     return(MetadataSystem.BinaryRangeSearch(this.Types, method_rid, false));
 }
Example #2
0
 public TypeDefinition GetFieldDeclaringType(uint field_rid)
 {
     return(MetadataSystem.BinaryRangeSearch(this.Types, field_rid, true));
 }