public override IReflectionVisitor <IEnumerable> Visit( PropertyInfoElement propertyInfoElement) { var v = new SemanticComparisonValue( propertyInfoElement.PropertyInfo.Name, propertyInfoElement.PropertyInfo.PropertyType); return(new SemanticReflectionVisitor( this.values.Concat(new[] { v }).ToArray())); }
public override IReflectionVisitor <IEnumerable> Visit( FieldInfoElement fieldInfoElement) { var v = new SemanticComparisonValue( fieldInfoElement.FieldInfo.Name, fieldInfoElement.FieldInfo.FieldType); return(new SemanticReflectionVisitor( this.values.Concat(new[] { v }).ToArray())); }