def METHOD_NAME(self, Dscfile):
    Platform = self.BuildObject[PathClass(Dscfile), TAB_COMMON]
    if Platform is None:
        EdkLogger.error('build', PARSER_ERROR, "Failed to parser DSC file: %s" % Dscfile)
    return Platform