anchor.diff:    }
   }
   
  -void listParameters() {
  -  final file = metadataFileContainingType('Windows.Globalization.Calendar');
  +void listParameters([String type = 'Windows.Globalization.Calendar']) {
  +  final file = metadataFileContainingType(type);
     final winmdFile = WinmdFile(file);
   
  -  final winTypeDef = winmdFile.findTypeDef('Windows.Globalization.Calendar');
  -  final method = winTypeDef.findMethod('HourAsPaddedString2');
  +  final winTypeDef = winmdFile.findTypeDef(type);
  +  final method = winTypeDef.findMethod('HourAsPaddedString');
   
     final parameters = method.parameters;
     print('${method.methodName} has '
  
positive.code:   print('\nreturns: ${returnType.name}');
  }
  
  void listInterfaces() {
    final type = 'Windows.Globalization.Calendar';
    final file = metadataFileContainingType(type);
    final winmdFile = WinmdFile(file);
  
  
negative.code: }
  
  void main() {
    final type = 'Windows.Globalization.ICalendar';
    final file = metadataFileContainingType(type);
    final winmdFile = WinmdFile(file);
  
    final winTypeDef = winmdFile.findTypeDef(type);
    print(winTypeDef.typeName);
    print(winTypeDef.guid);
    print('inherits ${winTypeDef.parent.typeName}');
  
    for (var method in winTypeDef.methods) {
      final buffer = StringBuffer();
      buffer.write('${method.isPublic ? 'public ' : ''}'
          '${method.isPrivate ? 'private ' : ''}'
          '${method.isStatic ? 'static ' : ''}'
          '${method.isFinal ? 'final ' : ''}'
          '${method.isVirtual ? 'virtual ' : ''}'
          '${method.isSpecialName ? 'special ' : ''}'
          '${method.isRTSpecialName ? 'rt_special ' : ''}'
          '${method.methodName} (');
  
      buffer.write(method.parameters.map((e) => e.name).join(', '));
      buffer.write(')');
      print(buffer.toString());
    }
  }
  