public MemberLookup(ImportSigComparer comparer) {
				properties = new Dictionary<PropertyDef, PropertyDef>(new ImportPropertyEqualityComparer(comparer));
				events = new Dictionary<EventDef, EventDef>(new ImportEventEqualityComparer(comparer));
				methods = new Dictionary<MethodDef, MethodDef>(new ImportMethodEqualityComparer(comparer));
				fields = new Dictionary<FieldDef, FieldDef>(new ImportFieldEqualityComparer(comparer));
				methodOverrides = new Dictionary<IMethodDefOrRef, MethodAndOverride>(new ImportMethodEqualityComparer(comparer));
				this.comparer = comparer;
				targetType = null;
			}
Example #2
0
 public MemberLookup(ImportSigComparer comparer)
 {
     properties      = new Dictionary <PropertyDef, PropertyDef>(new ImportPropertyEqualityComparer(comparer));
     events          = new Dictionary <EventDef, EventDef>(new ImportEventEqualityComparer(comparer));
     methods         = new Dictionary <MethodDef, MethodDef>(new ImportMethodEqualityComparer(comparer));
     fields          = new Dictionary <FieldDef, FieldDef>(new ImportFieldEqualityComparer(comparer));
     methodOverrides = new Dictionary <IMethodDefOrRef, MethodAndOverride>(new ImportMethodEqualityComparer(comparer));
     this.comparer   = comparer;
     targetType      = null !;
 }